chromatic-lattice/.eslintrc.js
thepaperpilot 337d394fd3
Some checks failed
Build and Deploy / build-and-deploy (push) Successful in 50s
Run Tests / test (push) Failing after 1m58s
Prepare for becoming submodule
2024-02-12 05:53:00 -06:00

35 lines
977 B
JavaScript

require("@rushstack/eslint-patch/modern-module-resolution");
module.exports = {
root: true,
env: {
node: true
},
extends: [
"plugin:vue/vue3-essential",
"@vue/eslint-config-typescript/recommended",
"@vue/eslint-config-prettier"
],
parserOptions: {
ecmaVersion: 2020,
},
ignorePatterns: ["src/lib"],
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"vue/script-setup-uses-vars": "warn",
"vue/no-mutating-props": "off",
"vue/multi-word-component-names": "off",
"@typescript-eslint/strict-boolean-expressions": [
"error",
{
allowNullableObject: true,
allowNullableBoolean: true
}
]
},
globals: {
defineProps: "readonly",
defineEmits: "readonly"
}
};