Skip to content

Commit fca7f22

Browse files
authored
chore: fix linting and formatting on npm@7 (#67)
1 parent 24c4cd2 commit fca7f22

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"format": "run-s format:check-fix:*",
1111
"format:ci": "run-s format:check:*",
1212
"format:check-fix:lint": "run-e format:check:lint format:fix:lint",
13-
"format:check:lint": "cross-env-shell eslint $npm_package_scriptsArgs_eslint",
14-
"format:fix:lint": "cross-env-shell eslint --fix $npm_package_scriptsArgs_eslint",
13+
"format:check:lint": "cross-env-shell eslint $npm_package_config_eslint",
14+
"format:fix:lint": "cross-env-shell eslint --fix $npm_package_config_eslint",
1515
"format:check-fix:prettier": "run-e format:check:prettier format:fix:prettier",
16-
"format:check:prettier": "cross-env-shell prettier --check $npm_package_scriptsArgs_prettier",
17-
"format:fix:prettier": "cross-env-shell prettier --write $npm_package_scriptsArgs_prettier"
16+
"format:check:prettier": "cross-env-shell prettier --check $npm_package_config_prettier",
17+
"format:fix:prettier": "cross-env-shell prettier --write $npm_package_config_prettier"
1818
},
19-
"scriptsArgs": {
19+
"config": {
2020
"eslint": "--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \"tests/**/*.js\" \"*.js\"",
2121
"prettier": "--ignore-path .gitignore --loglevel=warn \"tests/**/*.js\" \"*.js\""
2222
},

0 commit comments

Comments
 (0)