Skip to content

Commit

Permalink
Clarify how to add no-index rule in README
Browse files Browse the repository at this point in the history
Because all of the other rules have configuration examples, I got a little lost when I came to no-index and there were no examples.
  • Loading branch information
pmcelhaney committed Jan 6, 2021
1 parent 32fc70d commit dc63876
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -125,6 +125,10 @@ export default functionName();
Having a bunch of `index.js` files can have negative influence on developer experience, e.g. when
opening files by name. When enabling this rule. `index.js` files will always be considered a problem.

```json
"filenames/no-index": 2
```

## Changelog

#### 1.3.2
Expand Down

0 comments on commit dc63876

Please sign in to comment.