Skip to content

Commit 317aafb

Browse files
authored
Merge pull request #44 from netlify/chore/update-docs
Update `README.md` outdated information
2 parents 2d85664 + 76d75d0 commit 317aafb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module.exports = {
3333
"@netlify/eslint-config-node/.prettierrc.json"
3434
```
3535

36-
- Copy the `.editorconfig`,`.gitattributes` and `./scripts/run_on_error.js` files relativity to the root of the project.
36+
- Copy the `.editorconfig` and `.gitattributes` files relativity to the root of the project.
3737
- Add the following properties to the `package.json`. Please replace the `scriptsArgs` globbing expressions to match the
3838
files where the source JavaScript/Markdown/HTML/JSON/YAML files are located. `npm run format` should also be run
3939
during `npm test` and `npm run format:ci` during CI
@@ -44,16 +44,16 @@ module.exports = {
4444
"scripts": {
4545
"format": "run-s format:check-fix:*",
4646
"format:ci": "run-s format:check:*",
47-
"format:check-fix:lint": "./scripts/run_on_error.js format:check:lint format:fix:lint",
47+
"format:check-fix:lint": "run-e format:check:lint format:fix:lint",
4848
"format:check:lint": "cross-env-shell eslint $npm_package_scriptsArgs_eslint",
4949
"format:fix:lint": "cross-env-shell eslint --fix $npm_package_scriptsArgs_eslint",
50-
"format:check-fix:prettier": "./scripts/run_on_error.js format:check:prettier format:fix:prettier",
50+
"format:check-fix:prettier": "run-e format:check:prettier format:fix:prettier",
5151
"format:check:prettier": "cross-env-shell prettier --check $npm_package_scriptsArgs_prettier",
5252
"format:fix:prettier": "cross-env-shell prettier --write $npm_package_scriptsArgs_prettier"
5353
},
5454
"scriptsArgs": {
55-
"eslint": "--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \"{src,scripts,site,tests,.github}/**/*.{js,md,html}\" \"*.{js,md,html}\" \".*.{js,md,html}\"",
56-
"prettier": "--ignore-path .gitignore --loglevel=warn \"{src,scripts,site,tests,.github}/**/*.{js,md,yml,json,html}\" \"*.{js,yml,json,html}\" \".*.{js,yml,json,html}\" \"!package-lock.json\""
55+
"eslint": "--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \"{src,scripts,tests,.github}/**/*.{js,md,html}\" \"*.{js,md,html}\" \".*.{js,md,html}\"",
56+
"prettier": "--ignore-path .gitignore --loglevel=warn \"{src,scripts,tests,.github}/**/*.{js,md,yml,json,html}\" \"*.{js,yml,json,html}\" \".*.{js,yml,json,html}\" \"!package-lock.json\""
5757
},
5858
"husky": {
5959
"hooks": {

0 commit comments

Comments
 (0)