File tree Expand file tree Collapse file tree 2 files changed +2414
-64
lines changed Expand file tree Collapse file tree 2 files changed +2414
-64
lines changed Original file line number Diff line number Diff line change 4545 "debug" : " NODE_ENV=debug npm run test -- -st --fail-fast" ,
4646 "dev" : " npm run lint-config-and-fix && npm run lint-and-fix && npm run cover -- -- -st --fail-fast" ,
4747 "install-hooks" : " husky install" ,
48- "lint" : " true" ,
48+ "lint" : " xo" ,
49+ "lint-and-fix" : " npm run lint -- --fix" ,
4950 "lint-config" : " fixpack --dryRun" ,
5051 "lint-config-and-fix" : " fixpack || fixpack" ,
5152 "postinstall" : " npm run install-hooks" ,
8283 "np" : " 7.4.0" ,
8384 "pinst" : " 2.1.6" ,
8485 "power-assert" : " 1.6.1" ,
85- "regenerator-runtime" : " 0.13.7"
86+ "regenerator-runtime" : " 0.13.7" ,
87+ "xo" : " 0.38.2"
8688 },
8789 "ava" : {
8890 "files" : [
175177 ]
176178 }
177179 }
180+ },
181+ "prettier" : {
182+ "trailingComma" : " all"
183+ },
184+ "xo" : {
185+ "prettier" : true ,
186+ "plugins" : [
187+ " unicorn"
188+ ],
189+ "rules" : {
190+ "unicorn/filename-case" : [
191+ " error" ,
192+ {
193+ "cases" : {
194+ "camelCase" : true ,
195+ "pascalCase" : true
196+ }
197+ }
198+ ]
199+ },
200+ "overrides" : [
201+ {
202+ "files" : [
203+ " doc/**"
204+ ],
205+ "env" : " browser"
206+ }
207+ ]
178208 }
179209}
You can’t perform that action at this time.
0 commit comments