Commit ad53349 1 parent 1a13785 commit ad53349 Copy full SHA for ad53349
File tree 1 file changed +40
-0
lines changed
1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ root : true ,
3
+ env : {
4
+ browser : true ,
5
+ node : true ,
6
+ jest : true
7
+ } ,
8
+ parserOptions : {
9
+ parser : 'babel-eslint'
10
+ } ,
11
+ extends : [
12
+ 'eslint:recommended' ,
13
+ // https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
14
+ // consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
15
+ 'plugin:vue/recommended' ,
16
+ 'plugin:prettier/recommended'
17
+ ] ,
18
+ // required to lint *.vue files
19
+ plugins : [
20
+ 'vue'
21
+ ] ,
22
+ // add your custom rules here
23
+ rules : {
24
+ 'semi' : [ 2 , 'never' ] ,
25
+ 'no-console' : 'off' ,
26
+ 'vue/max-attributes-per-line' : 'off' ,
27
+ 'prettier/prettier' : [ 'error' , {
28
+ 'semi' : false
29
+ } ] ,
30
+ "vue/html-self-closing" : [ "error" , {
31
+ "html" : {
32
+ "void" : "always" ,
33
+ "normal" : "always" ,
34
+ "component" : "always"
35
+ } ,
36
+ "svg" : "always" ,
37
+ "math" : "always"
38
+ } ]
39
+ }
40
+ }
You can’t perform that action at this time.
0 commit comments