Commit 8fd88e8
committed
chore(ruff[lint]): Adopt ruff's default rule set
why: ruff 0.16 ships a curated 413-rule default set as its recommended
baseline. An explicit `select` replaces that set rather than extending
it, so this project was running 351 rules and silently opting out of
the default set. `extend-select` layers the project's own linters on
top of the default set instead of in place of it.
what:
- Replace `select` with `extend-select`, same entries, one per line
- Note in the file why `select` stays unset
- Name the linter behind `FA100` instead of describing the rule
Enabled rules go from 351 to 565.
https://docs.astral.sh/ruff/linter/#rule-selection1 parent 1eb507e commit 8fd88e8
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
155 | 158 | | |
156 | 159 | | |
157 | 160 | | |
| |||
168 | 171 | | |
169 | 172 | | |
170 | 173 | | |
171 | | - | |
| 174 | + | |
172 | 175 | | |
173 | 176 | | |
174 | 177 | | |
| |||
0 commit comments