mirror of
https://github.com/hanzoai/eslint.git
synced 2026-10-30 19:38:10 +00:00
To replace a rule, the old rule and its test should be deleted, and
`conf/replacements.json` should be updated in the format:
```
{
"rules": {
"old-rule": ["new-rule", "another-new-rule"]
}
}
```
6 lines
51 B
JSON
6 lines
51 B
JSON
{
|
|
"rules": {
|
|
"missing-rule": 1
|
|
}
|
|
}
|