Skip to content

Commit 10b3aa7

Browse files
committed
add benchmark folder to linter
1 parent 02a955b commit 10b3aa7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
!bin/*.js
88
!hot/*.js
99
!buildin/*.js
10+
!benchmark/**/*.js
1011
!test/*.js
1112
!test/**/webpack.config.js
1213
!examples/**/webpack.config.js

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@
118118
"pretest": "yarn lint",
119119
"prelint": "yarn setup",
120120
"lint": "yarn code-lint && yarn schema-lint && yarn type-lint",
121-
"code-lint": "eslint --cache setup lib bin hot buildin \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\" \"schemas/**/*.js\"",
121+
"code-lint": "eslint --cache setup lib bin hot buildin benchmark \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\" \"schemas/**/*.js\"",
122122
"type-lint": "tsc --pretty",
123123
"fix": "yarn code-lint --fix",
124-
"pretty": "prettier --write \"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\"",
124+
"pretty": "prettier --write \"setup/**/*.js\" \"lib/**/*.js\" \"bin/*.js\" \"hot/*.js\" \"buildin/*.js\" \"benchmark/**/*.js\" \"test/*.js\" \"test/**/webpack.config.js\" \"examples/**/webpack.config.js\" \"schemas/**/*.js\" \"declarations.d.ts\"",
125125
"schema-lint": "node --max-old-space-size=4096 node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.lint.js\" --no-verbose",
126126
"benchmark": "node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.benchmark.js\" --runInBand",
127127
"cover": "yarn cover:init && yarn cover:all && yarn cover:report",

0 commit comments

Comments
 (0)