File tree 2 files changed +15
-1
lines changed
2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change
1
+ # Ignore all paths.
2
+ ** /* . *
3
+
4
+ # Enable prettier for the following paths.
5
+ ! setup /** /* .js
6
+ ! lib /** /* .js
7
+ ! bin /* .js
8
+ ! hot /* .js
9
+ ! buildin /* .js
10
+ ! test /* .js
11
+ ! test /** /webpack.config.js
12
+ ! examples /** /webpack.config.js
13
+ ! schemas /** /* .js
14
+ ! declarations.d.ts
Original file line number Diff line number Diff line change 112
112
"code-lint" : " eslint setup lib bin hot buildin \" test/*.js\" \" test/**/webpack.config.js\" \" examples/**/webpack.config.js\" \" schemas/**/*.js\" " ,
113
113
"type-lint" : " tsc --pretty" ,
114
114
"fix" : " yarn code-lint --fix" ,
115
- "pretty" : " prettier \" setup/**/*.js \" \" lib/ **/*.js \" \" bin/*.js \" \" hot/*.js \" \" buildin/*.js \" \" test/*.js \" \" test/**/webpack.config.js \" \" examples/**/webpack.config.js \" \" schemas/**/*.js \" \" declarations.d.ts \" --write " ,
115
+ "pretty" : " prettier --write \" **/*.{js,ts} \" " ,
116
116
"schema-lint" : " node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \" <rootDir>/test/*.lint.js\" --no-verbose" ,
117
117
"benchmark" : " node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \" <rootDir>/test/*.benchmark.js\" --runInBand" ,
118
118
"cover" : " yarn cover:init && yarn cover:all && yarn cover:report" ,
You can’t perform that action at this time.
0 commit comments