Skip to content

Commit 1256528

Browse files
committed
Improve contributing experience
1 parent f17275a commit 1256528

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
"dev": "cross-env NODE_ENV=development webpack serve",
1010
"prod": "cross-env NODE_ENV=production webpack serve",
1111
"build": "rimraf ./dist && cross-env NODE_OPTIONS=--max_old_space_size=8192 && cross-env NODE_ENV=production webpack",
12-
"lint": "eslint --fix src/**/*.tsx src/**/*.ts",
13-
"lint-check": "eslint src/**/*.tsx src/**/*.ts",
12+
"lint": "eslint --fix src",
13+
"lint-check": "eslint src",
1414
"type-check": "tsc --noEmit",
15-
"prettier": "prettier 'src/**/*.{ts,tsx,js,json}' --write --list-different",
16-
"prettier-check": "prettier 'src/**/*.{ts,tsx,js,json}' --check --list-different",
15+
"prettier": "prettier src --write --list-different",
16+
"prettier-check": "prettier src --check --list-different",
1717
"bundle-analyze": "cross-env BUNDLE_ANALYZER=true cross-env NODE_ENV=production webpack --progress",
1818
"check": "yarn lint && yarn type-check",
1919
"pre-commit-install": "husky"

0 commit comments

Comments
 (0)