28 lines
584 B
JavaScript
28 lines
584 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
browser: true,
|
|
node: true,
|
|
},
|
|
parserOptions: {
|
|
ecmaVersion: 2020,
|
|
sourceType: "module",
|
|
parser: "@typescript-eslint/parser",
|
|
},
|
|
extends: [
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:nuxt/recommended",
|
|
"plugin:vue/vue3-recommended",
|
|
"plugin:prettier/recommended",
|
|
],
|
|
plugins: ["@typescript-eslint"],
|
|
// add your custom rules here
|
|
rules: {},
|
|
|
|
overrides: [
|
|
{
|
|
files: ["layouts/*.vue", "pages/**/*.vue"],
|
|
rules: { "vue/multi-word-component-names": "off" },
|
|
},
|
|
],
|
|
}
|