File tree Expand file tree Collapse file tree 2 files changed +37
-40
lines changed Expand file tree Collapse file tree 2 files changed +37
-40
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ root : true ,
3
+ extends : 'eslint:recommended' ,
4
+ parser : '@babel/eslint-parser' ,
5
+ env : {
6
+ browser : true ,
7
+ es6 : true ,
8
+ node : true ,
9
+ jest : true ,
10
+ 'cypress/globals' : true ,
11
+ } ,
12
+ plugins : [ 'markdown' , 'cypress' ] ,
13
+ globals : {
14
+ __DEV__ : true ,
15
+ } ,
16
+ rules : {
17
+ 'no-undef' : 2 ,
18
+ 'no-unreachable' : 2 ,
19
+ 'no-unused-vars' : 0 ,
20
+ 'no-console' : 0 ,
21
+ semi : [ 'error' , 'always' ] ,
22
+ quotes : [ 'error' , 'single' ] ,
23
+ } ,
24
+ overrides : [
25
+ {
26
+ files : [ 'src/content/**/*.md' ] ,
27
+ rules : {
28
+ indent : [ 'error' , 2 ] ,
29
+ quotes : [ 'error' , 'single' ] ,
30
+ 'no-undef' : 0 ,
31
+ 'no-constant-condition' : 0 ,
32
+ 'no-useless-escape' : 0 ,
33
+ 'no-dupe-keys' : 0 ,
34
+ } ,
35
+ } ,
36
+ ] ,
37
+ } ;
You can’t perform that action at this time.
0 commit comments