File tree Expand file tree Collapse file tree 2 files changed +12
-24
lines changed Expand file tree Collapse file tree 2 files changed +12
-24
lines changed Original file line number Diff line number Diff line change
1
+ node_modules
2
+ .dist
3
+ build
4
+ dist
Original file line number Diff line number Diff line change 1
- // http://eslint.org/docs/user-guide/configuring
2
-
3
1
module . exports = {
4
2
root : true ,
5
- parser : "babel-eslint" ,
6
- parserOptions : {
7
- sourceType : "module"
8
- } ,
9
3
env : {
10
- "browser" : true ,
11
- "es6" : true ,
12
- "worker" : true ,
13
- "serviceworker" : true ,
14
- "jest" : true
4
+ node : true
15
5
} ,
16
- plugins : [
17
- "import" ,
18
- "html"
19
- ] ,
20
- extends : [ "eslint-config-standard" ] ,
21
- "rules" : {
22
- "jsx-quotes" : 1 ,
23
- "no-debugger" : process . env . NODE_ENV === "production" ? 2 : 1 ,
24
- "comma-dangle" : [ 2 , "never" ] ,
25
- "complexity" : 2 ,
26
- "space-before-function-paren" : [ 0 , "never" ] ,
27
- "no-unused-vars" : 1 ,
28
- "camelcase" : 2
6
+ extends : [ "plugin:vue/essential" , "@vue/prettier" ] ,
7
+ rules : {
8
+ "no-console" : process . env . NODE_ENV === "production" ? "error" : "off" ,
9
+ "no-debugger" : process . env . NODE_ENV === "production" ? "error" : "off"
10
+ } ,
11
+ parserOptions : {
12
+ parser : "babel-eslint"
29
13
}
30
14
} ;
You can’t perform that action at this time.
0 commit comments