en cours: règles ESLint/Oxlint
- eslint
This commit is contained in:
parent
bc3b1606e9
commit
c53b1c1f78
7 changed files with 801 additions and 194 deletions
12
index.ts
12
index.ts
|
|
@ -11,12 +11,12 @@ import unicornRules from "./rules/unicorn";
|
|||
|
||||
const config: OxlintConfig = defineConfig({
|
||||
categories: {
|
||||
correctness: "warn",
|
||||
nursery: "warn",
|
||||
pedantic: "warn",
|
||||
perf: "error",
|
||||
style: "error",
|
||||
suspicious: "error",
|
||||
correctness: "off",
|
||||
nursery: "off",
|
||||
pedantic: "off",
|
||||
perf: "off",
|
||||
style: "off",
|
||||
suspicious: "off",
|
||||
},
|
||||
env: {
|
||||
browser: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue