@@ -6,12 +6,8 @@ module.exports = {
66 globals : {
77 ENV_MOBILE_DEVICE : true ,
88 } ,
9- ignorePatterns : [ 'dist' , 'www' ] ,
10- extends : [
11- 'plugin:vue/recommended' ,
12- 'plugin:@intlify/vue-i18n/recommended' ,
13- '@vue/airbnb' ,
14- ] ,
9+ ignorePatterns : [ 'dist' , 'platforms' , 'plugins' , 'www' ] ,
10+ extends : [ 'plugin:vue/recommended' , 'plugin:@intlify/vue-i18n/recommended' ] ,
1511 rules : {
1612 'no-console' : process . env . NODE_ENV === 'production' ? 'error' : 'off' ,
1713 'no-debugger' : process . env . NODE_ENV === 'production' ? 'error' : 'off' ,
@@ -20,13 +16,16 @@ module.exports = {
2016 'vue/block-spacing' : 'error' ,
2117 'vue/brace-style' : 'error' ,
2218 'vue/camelcase' : [ 'error' , { properties : 'never' } ] ,
23- 'vue/comma-dangle' : [ 'error' , {
24- arrays : 'always-multiline' ,
25- objects : 'always-multiline' ,
26- imports : 'always-multiline' ,
27- exports : 'always-multiline' ,
28- functions : 'always-multiline' ,
29- } ] ,
19+ 'vue/comma-dangle' : [
20+ 'error' ,
21+ {
22+ arrays : 'always-multiline' ,
23+ objects : 'always-multiline' ,
24+ imports : 'always-multiline' ,
25+ exports : 'always-multiline' ,
26+ functions : 'always-multiline' ,
27+ } ,
28+ ] ,
3029 'vue/component-name-in-template-casing' : 'error' ,
3130 'vue/eqeqeq' : 'error' ,
3231 'vue/key-spacing' : 'error' ,
@@ -44,24 +43,25 @@ module.exports = {
4443 'vuejs-accessibility/label-has-for' : 'off' ,
4544 'vuejs-accessibility/form-control-has-label' : 'off' ,
4645 'vue/multi-word-component-names' : 'off' ,
46+ 'vue/max-attributes-per-line' : 'off' ,
47+ 'vue/html-self-closing' : 'off' ,
48+ 'vue/html-closing-bracket-newline' : 'off' ,
49+ 'vue/html-indent' : 'off' ,
50+ 'vue/singleline-html-element-content-newline' : 'off' ,
4751 'vuejs-accessibility/no-autofocus' : 'off' ,
4852 'vuejs-accessibility/alt-text' : 'off' ,
4953 } ,
5054 parserOptions : {
5155 parser : '@babel/eslint-parser' ,
5256 } ,
53- overrides : [ {
54- files : '**/__tests__/*' ,
55- env : {
56- jest : true ,
57- } ,
58- } , {
59- files : 'backend/**' ,
60- rules : {
61- 'import/no-extraneous-dependencies' : [ 'error' , { packageDir : 'backend' } ] ,
62- 'import/extensions' : [ 'error' , 'ignorePackages' ] ,
57+ overrides : [
58+ {
59+ files : '**/__tests__/*' ,
60+ env : {
61+ jest : true ,
62+ } ,
6363 } ,
64- } ] ,
64+ ] ,
6565 settings : {
6666 'vue-i18n' : {
6767 localeDir : './src/locales/*.json' ,
0 commit comments