@@ -3,47 +3,27 @@ module.exports = {
33 // This option interrupts the configuration hierarchy at this file
44 // Remove this if you have an higher level ESLint config file (it usually happens into a monorepos)
55 root : true ,
6-
76 parserOptions : {
87 parser : '@babel/eslint-parser' ,
9- ecmaVersion : 2018 , // Allows for the parsing of modern ECMAScript features
8+ ecmaVersion : 2018 ,
9+ // Allows for the parsing of modern ECMAScript features
1010 sourceType : 'module' // Allows for the use of imports
11- } ,
1211
12+ } ,
1313 env : {
1414 browser : true
1515 } ,
16-
1716 // Rules order is important, please avoid shuffling them
18- extends : [
19- // Base ESLint recommended rules
20- // 'eslint:recommended',
21-
22-
23- // Uncomment any of the lines below to choose desired strictness,
24- // but leave only one uncommented!
25- // See https://eslint.vuejs.org/rules/#available-rules
26- 'plugin:vue/vue3-essential' , // Priority A: Essential (Error Prevention)
27- // 'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability)
28- // 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
29-
30- // https://github.com/prettier/eslint-config-prettier#installation
31- // usage with Prettier, provided by 'eslint-config-prettier'.
32- 'prettier'
17+ extends : [ "plugin:vue/vue3-essential" , "prettier" , "plugin:storybook/recommended" ] ,
18+ plugins : [ // https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-file
19+ // required to lint *.vue files
20+ 'vue' // https://github.com/typescript-eslint/typescript-eslint/issues/389#issuecomment-509292674
21+ // Prettier has not been included as plugin to avoid performance impact
22+ // add it as an extension for your IDE
3323 ] ,
34-
35- plugins : [
36- // https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-file
37- // required to lint *.vue files
38- 'vue' ,
39-
40- // https://github.com/typescript-eslint/typescript-eslint/issues/389#issuecomment-509292674
41- // Prettier has not been included as plugin to avoid performance impact
42- // add it as an extension for your IDE
43- ] ,
44-
4524 globals : {
46- ga : 'readonly' , // Google Analytics
25+ ga : 'readonly' ,
26+ // Google Analytics
4727 cordova : 'readonly' ,
4828 __statics : 'readonly' ,
4929 __QUASAR_SSR__ : 'readonly' ,
@@ -54,13 +34,10 @@ module.exports = {
5434 Capacitor : 'readonly' ,
5535 chrome : 'readonly'
5636 } ,
57-
5837 // add your custom rules here
5938 rules : {
6039 'prefer-promise-reject-errors' : 'off' ,
61-
62-
6340 // allow debugger during development only
6441 'no-debugger' : process . env . NODE_ENV === 'production' ? 'error' : 'off'
6542 }
66- }
43+ } ;
0 commit comments