Skip to content

Commit

Permalink
docs: update script command to be used in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
CyntiBinti committed Jun 23, 2023
1 parent ed23fc6 commit 1dfebc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/eslint-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ Avoid using .eslintrc file format (without a file extension), as [this has been
Add the following command to the `scripts` object in your repository's package.json:

```
"lint:js": "eslint '**/*.{js,jsx,json,yml,yaml}'"
"lint:js": "eslint ."
```

To lint a specific file (or the entire repository), run that command in your terminal. Any linting errors found by the config will be displayed in your terminal, with helpful suggestions on how to resolve them.
Run that command in your terminal to lint your files (either cd into the relevant directory or run from root). Any linting errors found by the config will be displayed in your terminal, with helpful suggestions on how to resolve them.

## Contributing

Expand Down

0 comments on commit 1dfebc5

Please sign in to comment.