This repository was archived by the owner on Mar 9, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change 5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"test" : " xo" ,
8
- "lint" : " prettier 'utils/**/*.js' 'components/**/*.js' 'pages/**/*.js' 'lib/**/*.js' 'hocs/**/*.js' '*.js' --write --single-quote --print-width='80' --trailing-comma='all' && xo --fix" ,
8
+ "lint" :
9
+ " prettier 'utils/**/*.js' 'components/**/*.js' 'pages/**/*.js' 'lib/**/*.js' 'hocs/**/*.js' '*.js' --write --single-quote --print-width='80' --trailing-comma='all' && xo --fix" ,
9
10
"precommit" : " lint-staged" ,
10
11
"analyze" : " cross-env ANALYZE=1 next build" ,
11
12
"dev" : " cross-env NODE_ENV=development nodemon server.js -w server.js" ,
16
17
},
17
18
"xo" : {
18
19
"parser" : " babel-eslint" ,
19
- "extends" : [
20
- " prettier" ,
21
- " prettier/react" ,
22
- " plugin:react/recommended"
23
- ],
24
- "env" : [
25
- " browser" ,
26
- " node"
27
- ],
20
+ "extends" : [" prettier" , " prettier/react" , " plugin:react/recommended" ],
21
+ "env" : [" browser" , " node" ],
28
22
"rules" : {
29
23
"linebreak-style" : 0 ,
30
24
"react/display-name" : 0 ,
31
25
"react/prop-types" : 0
32
26
},
33
27
"space:" : 2 ,
34
- "ignores" : [
35
- " next.config.js"
36
- ]
28
+ "ignores" : [" next.config.js" ]
37
29
},
38
30
"lint-staged" : {
39
31
"*.js" : [
40
- " prettier --write --single-quote --print-width=80 --trailing-comma=all --no-semi " ,
32
+ " prettier --write --single-quote --print-width=80 --trailing-comma=all" ,
41
33
" xo" ,
42
34
" git add"
43
35
]
You can’t perform that action at this time.
0 commit comments