2021-12-26 09:14:46 +00:00
|
|
|
module.exports = {
|
2021-12-27 02:44:31 +00:00
|
|
|
root: true,
|
2021-12-28 09:06:43 +00:00
|
|
|
extends: '@daotl/eslint-config-vue/typescript',
|
2021-12-27 02:44:31 +00:00
|
|
|
parserOptions: {
|
|
|
|
project: 'tsconfig.json',
|
|
|
|
},
|
|
|
|
rules: {
|
2021-12-27 11:07:17 +00:00
|
|
|
'no-undef': 'off', // Turn off for `unplugin-auto-import`
|
2021-12-27 02:44:31 +00:00
|
|
|
'vue/multi-word-component-names': 'off',
|
|
|
|
},
|
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
files: [
|
|
|
|
'**/__tests__/*.{j,t}s?(x)',
|
|
|
|
'**/tests/unit/**/*.spec.{j,t}s?(x)',
|
|
|
|
],
|
|
|
|
env: {
|
|
|
|
jest: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|