24 lines
533 B
JavaScript
24 lines
533 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es2021: true,
|
|
node: true,
|
|
},
|
|
extends: [
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:nuxt/recommended",
|
|
"plugin:vue/vue3-recommended",
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: "latest",
|
|
parser: "@typescript-eslint/parser",
|
|
sourceType: "module",
|
|
},
|
|
plugins: ["@typescript-eslint"],
|
|
rules: {
|
|
"max-len": [2, { code: 210, tabWidth: 4, ignoreUrls: true }],
|
|
"vue/prop-name-casing": ["error"],
|
|
"vue/multi-word-component-names": 0,
|
|
},
|
|
};
|