Skip to content

Commit

Permalink
Don't need 'run' for yarn scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ndbroadbent committed Dec 14, 2018
1 parent 3027b96 commit 866be1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ Before submitting a pull request, please check the following:
- Coverage will be printed after running tests.
- Check the coverage results in your browser: `open coverage/lcov-report/index.html`
- No ESLint errors
- `yarn run lint`
- `yarn lint`
- All code is formatted with [Prettier](https://prettier.io/)
- `yarn run format`
- `yarn format`
- If you use VS Code, you should enable the `formatOnSave` option.

## License
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "craco-less",
"version": "1.5.1",
"description": "A Less plugin for craco / react-scripts / create-react-app ",
"description": "A Less plugin for craco / react-scripts / create-react-app",
"main": "lib/craco-less.js",
"scripts": {
"test": "jest",
Expand Down Expand Up @@ -52,7 +52,7 @@
"git add"
],
"*.{js,jsx,ts,tsx}": [
"yarn run lint",
"eslint --fix",
"git add"
]
}
Expand Down

0 comments on commit 866be1d

Please sign in to comment.