Skip to content

Commit

Permalink
docs: added override section in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Aluisio authored Jul 24, 2024
1 parent acb785c commit d5ef222
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,18 @@ Inside `.eslintrc.json`
"extends": "@aluisio/eslint-config/node"
}
```

##

### Override Settings
You can override any ESLint config by changing your own `.eslintrc.json` file. The example below changes Enforce a maximum line length.
```
{
"extends": [
"@aluisio/eslint-config/next",
"rules": {
"max-len": [ "warn", { "code": 180 } ]
}
]
}
```

0 comments on commit d5ef222

Please sign in to comment.