@@ -30,7 +30,7 @@ module.exports = {
30
30
" @netlify/eslint-config-node/.prettierrc.json"
31
31
```
32
32
33
- - Copy the ` .editorconfig ` ,` .gitattributes ` and ` ./scripts/run-on-error .js ` files relativity to the root of the project.
33
+ - Copy the ` .editorconfig ` ,` .gitattributes ` and ` ./scripts/run_on_error .js ` files relativity to the root of the project.
34
34
- Add the following properties to the ` package.json ` . Please replace the ` scriptsArgs ` globbing expressions to match the
35
35
files where the source JavaScript/Markdown/HTML/JSON/YAML files are located. ` npm run format ` should also be run
36
36
during ` npm test ` and ` npm run format:ci ` during CI
@@ -41,10 +41,10 @@ module.exports = {
41
41
"scripts" : {
42
42
"format" : " run-s format:check-fix:*" ,
43
43
"format:ci" : " run-s format:check:*" ,
44
- "format:check-fix:lint" : " ./scripts/run-on-error .js format:check:lint format:fix:lint" ,
44
+ "format:check-fix:lint" : " ./scripts/run_on_error .js format:check:lint format:fix:lint" ,
45
45
"format:check:lint" : " cross-env-shell eslint $npm_package_scriptsArgs_eslint" ,
46
46
"format:fix:lint" : " cross-env-shell eslint --fix $npm_package_scriptsArgs_eslint" ,
47
- "format:check-fix:prettier" : " ./scripts/run-on-error .js format:check:prettier format:fix:prettier" ,
47
+ "format:check-fix:prettier" : " ./scripts/run_on_error .js format:check:prettier format:fix:prettier" ,
48
48
"format:check:prettier" : " cross-env-shell prettier --check $npm_package_scriptsArgs_prettier" ,
49
49
"format:fix:prettier" : " cross-env-shell prettier --write $npm_package_scriptsArgs_prettier"
50
50
},
0 commit comments