Snippets

Erwin Goossen Prevent NPM error message

Created by Erwin Goossen
1
2
3
4
5
6
{
  "scripts": {
    // The || true after the script prevents an error thrown after a script runs an error.
    "build:lint": "eslint **/*.js --fix || true",
  },
}

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.