34 lines
776 B
JSON
34 lines
776 B
JSON
{
|
|
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
"env": { "browser": true, "es2020": true, "es2022": true },
|
|
"categories": {
|
|
"correctness": "error",
|
|
"nursery": "error",
|
|
"pedantic": "error",
|
|
"perf": "warn",
|
|
"restriction": "error",
|
|
"style": "warn",
|
|
"suspicious": "error"
|
|
},
|
|
"plugins": [
|
|
"eslint-plugin-jsdoc",
|
|
"eslint-plugin-promise",
|
|
"eslint-plugin-unicorn",
|
|
"jsdoc",
|
|
"oxc",
|
|
"oxc-security",
|
|
"promise",
|
|
"security",
|
|
"typescript",
|
|
"typescript-eslint",
|
|
"unicorn"
|
|
],
|
|
"rules": {
|
|
"import/export": "error",
|
|
"no-console": "off",
|
|
"no-rest-spread-properties": "off",
|
|
"no-ternary": "off",
|
|
"sort-imports": "off",
|
|
"typescript/consistent-type-imports": "error"
|
|
}
|
|
}
|