Files
ncd-fe/packages/pl-api/.oxlintrc.json
nicole mikołajczyk 2fc00472bf pl-api: enable consistent-type-imports rule
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-02-27 01:17:07 +01:00

72 lines
1.6 KiB
JSON

{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["typescript", "import", "promise"],
"categories": {
"correctness": "error",
"suspicious": "error",
"pedantic": "warn",
"perf": "warn"
},
"rules": {
"max-dependencies": "off",
"max-lines": "off",
"max-lines-per-function": "off",
"no-inline-comments": "off",
"no-unused-vars": [
"error",
{
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": true,
"caughtErrors": "none",
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_"
}
],
"no-shadow": "off",
"typescript/consistent-type-imports": [
"error",
{ "prefer": "type-imports", "fixStyle": "inline-type-imports" }
],
"typescript/consistent-type-exports": [
"error",
{ "fixMixedExportsWithInlineTypeSpecifier": true }
]
},
"settings": {
"jsx-a11y": {
"polymorphicPropName": null,
"components": {},
"attributes": {}
},
"next": {
"rootDir": []
},
"react": {
"formComponents": [],
"linkComponents": [],
"version": null,
"componentWrapperFunctions": []
},
"jsdoc": {
"ignorePrivate": false,
"ignoreInternal": false,
"ignoreReplacesDocs": true,
"overrideReplacesDocs": true,
"augmentsExtendsReplacesDocs": false,
"implementsReplacesDocs": false,
"exemptDestructuredRootsFromChecks": false,
"tagNamePreference": {}
}
},
"env": {
"builtin": true,
"browser": true,
"node": true,
"es6": true
},
"globals": {},
"ignorePatterns": []
}