Skip to content

Commit af33372

Browse files
authored
Clarify .eslintrc docs
1 parent fa297e1 commit af33372

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module.exports = {
6060
"plugins": ["eslint-plugin-local-rules"],
6161

6262
"rules": {
63-
"local-rules/disallow-identifiers": 2
63+
"local-rules/disallow-identifiers": "error"
6464
}
6565
}
6666
```
@@ -71,6 +71,8 @@ module.exports = {
7171
npm install ts-node @types/eslint
7272
```
7373

74+
You'll also need an eslint config like the [.eslintrc](#eslintrc) above ([more info](https://eslint.org/docs/latest/use/configure/configuration-files)).
75+
7476
### ./eslint-local-rules/index.js
7577

7678
```javascript

0 commit comments

Comments
 (0)