@@ -3,45 +3,19 @@ module.exports = {
33 env : {
44 browser : true ,
55 node : true ,
6- 'cypress/globals' : true
6+ 'cypress/globals' : true ,
77 } ,
88 parserOptions : {
99 parser : 'babel-eslint' ,
10- sourceType : 'module'
1110 } ,
1211 extends : [
13- 'eslint:recommended' ,
14- // https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
15- // consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
1612 '@nuxtjs' ,
17- 'prettier' ,
18- 'prettier/vue' ,
1913 'plugin:prettier/recommended' ,
20- 'plugin:nuxt/recommended'
14+ 'plugin:nuxt/recommended' ,
2115 ] ,
22- // required to lint *.vue files
2316 plugins : [ 'prettier' , 'cypress' ] ,
17+ // add your custom rules here
2418 rules : {
25- semi : [ 2 , 'never' ] ,
26- 'no-console' : 'warn' ,
27- 'no-debugger' : 'warn' ,
28- 'no-unused-vars' : 'warn' ,
29- 'vue/no-unused-components' : 'warn' ,
30- 'vue/max-attributes-per-line' : 'off' ,
31- 'vue/singleline-html-element-content-newline' : 'off' ,
32- 'vue/multiline-html-element-content-newline' : 'off' ,
33- 'vue/component-name-in-template-casing' : [
34- 'warn' ,
35- 'PascalCase' ,
36- { ignores : [ 'nuxt' , 'nuxt-link' , 'no-ssr' , 'component' , 'transition' ] }
37- ] ,
38- 'prettier/prettier' : [
39- 'error' ,
40- {
41- singleQuote : true ,
42- semi : false ,
43- endOfLine : 'auto'
44- }
45- ]
46- }
19+ 'import/no-named-as-default' : 'off' ,
20+ } ,
4721}
0 commit comments