mirror of
https://github.com/cstaelen/shazarr.git
synced 2026-10-19 01:31:11 -05:00
63 lines
2.1 KiB
JSON
63 lines
2.1 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/schemas/oxlintrc.json",
|
|
|
|
"ignorePatterns": [
|
|
"**/node_modules",
|
|
"**/public",
|
|
"**/playwright-report",
|
|
"**/dist",
|
|
"**/android",
|
|
"**/ios"
|
|
],
|
|
|
|
"plugins": ["react", "jsx_a11y"],
|
|
|
|
"rules": {
|
|
"react/exhaustive-deps": "warn",
|
|
"react/forward-ref-uses-ref": "warn",
|
|
"react/jsx-key": "error",
|
|
"react/no-children-prop": "error",
|
|
"react/no-danger-with-children": "error",
|
|
|
|
"jsx_a11y/alt-text": "error",
|
|
"jsx_a11y/anchor-has-content": "error",
|
|
"jsx_a11y/anchor-is-valid": "error",
|
|
"jsx_a11y/aria-activedescendant-has-tabindex": "error",
|
|
"jsx_a11y/aria-props": "error",
|
|
"jsx_a11y/aria-proptypes": "error",
|
|
"jsx_a11y/aria-role": "error",
|
|
"jsx_a11y/aria-unsupported-elements": "error",
|
|
"jsx_a11y/autocomplete-valid": "error",
|
|
"jsx_a11y/click-events-have-key-events": "error",
|
|
"jsx_a11y/control-has-associated-label": "error",
|
|
"jsx_a11y/heading-has-content": "error",
|
|
"jsx_a11y/html-has-lang": "error",
|
|
"jsx_a11y/iframe-has-title": "error",
|
|
"jsx_a11y/img-redundant-alt": "error",
|
|
"jsx_a11y/interactive-supports-focus": "error",
|
|
"jsx_a11y/label-has-associated-control": "error",
|
|
"jsx_a11y/lang": "error",
|
|
"jsx_a11y/media-has-caption": "error",
|
|
"jsx_a11y/mouse-events-have-key-events": "error",
|
|
"jsx_a11y/no-access-key": "error",
|
|
"jsx_a11y/no-autofocus": "error",
|
|
"jsx_a11y/no-distracting-elements": "error",
|
|
"jsx_a11y/no-interactive-element-to-noninteractive-role": "error",
|
|
"jsx_a11y/no-noninteractive-element-interactions": "error",
|
|
"jsx_a11y/no-noninteractive-element-to-interactive-role": "error",
|
|
"jsx_a11y/no-noninteractive-tabindex": "error",
|
|
"jsx_a11y/no-redundant-roles": "error",
|
|
"jsx_a11y/no-static-element-interactions": "error",
|
|
"jsx_a11y/role-has-required-aria-props": "error",
|
|
"jsx_a11y/role-supports-aria-props": "error",
|
|
"jsx_a11y/scope": "error",
|
|
"jsx_a11y/tabindex-no-positive": "error"
|
|
},
|
|
|
|
"settings": {
|
|
"typescript": {
|
|
"tsconfig": "./tsconfig.json"
|
|
}
|
|
}
|
|
}
|