2021-03-18 14:26:41 +00:00
|
|
|
{
|
|
|
|
"globals": {
|
2021-04-23 20:30:43 +00:00
|
|
|
"NodeJS": true,
|
|
|
|
"$fetch": true
|
2021-03-18 14:26:41 +00:00
|
|
|
},
|
2021-04-15 18:49:29 +00:00
|
|
|
"plugins": ["jsdoc"],
|
2021-03-18 14:26:41 +00:00
|
|
|
"extends": [
|
2021-04-15 18:49:29 +00:00
|
|
|
"plugin:jsdoc/recommended",
|
2021-10-02 18:40:10 +00:00
|
|
|
"@nuxtjs/eslint-config-typescript",
|
|
|
|
"plugin:import/typescript"
|
2021-03-18 14:26:41 +00:00
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"no-console": "off",
|
2021-04-15 18:49:29 +00:00
|
|
|
"vue/one-component-per-file": "off",
|
2021-07-15 11:28:04 +00:00
|
|
|
"vue/require-default-prop": "off",
|
2021-04-15 18:49:29 +00:00
|
|
|
"jsdoc/require-jsdoc": "off",
|
|
|
|
"jsdoc/require-param": "off",
|
|
|
|
"jsdoc/require-returns": "off",
|
2021-10-02 18:40:10 +00:00
|
|
|
"jsdoc/require-param-type": "off",
|
|
|
|
"import/no-restricted-paths": ["error", {
|
|
|
|
"zones": [
|
|
|
|
{
|
|
|
|
"target": "packages/nuxt3/src/!(core)/**/*",
|
|
|
|
"from": "packages/nuxt3/src/core",
|
|
|
|
"message": "core should not directly import from modules."
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "packages/nuxt3/src/!(app)/**/*",
|
|
|
|
"from": "packages/nuxt3/src/app",
|
|
|
|
"message": "app should not directly import from modules."
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"target": "packages/nitro",
|
|
|
|
"from": "packages/!(nitro)/**/*",
|
|
|
|
"message": "nitro should not directly import other packages."
|
|
|
|
}
|
|
|
|
]
|
2021-11-17 11:21:38 +00:00
|
|
|
}],
|
|
|
|
"@typescript-eslint/no-unused-vars": ["error", {
|
|
|
|
"argsIgnorePattern": "^_",
|
|
|
|
"varsIgnorePattern": "^_",
|
|
|
|
"ignoreRestSiblings": true
|
2021-10-02 18:40:10 +00:00
|
|
|
}]
|
2021-04-15 18:49:29 +00:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"jsdoc": {
|
|
|
|
"tagNamePreference": {
|
|
|
|
"warning": "warning",
|
|
|
|
"note": "note"
|
|
|
|
}
|
|
|
|
}
|
2021-11-17 11:21:38 +00:00
|
|
|
}
|
2021-03-18 14:26:41 +00:00
|
|
|
}
|