mirror of
https://github.com/kerberos-io/agent.git
synced 2026-08-23 15:08:32 +00:00
49 lines
1.0 KiB
JSON
49 lines
1.0 KiB
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true
|
|
},
|
|
"extends": [
|
|
"airbnb",
|
|
"plugin:react/recommended",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": 12,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": ["react"],
|
|
"rules": {
|
|
"class-methods-use-this": "off",
|
|
"react/forbid-prop-types": "off",
|
|
"no-case-declarations": "off",
|
|
"camelcase": "off",
|
|
"dot-notation": "off",
|
|
"jsx-a11y/media-has-caption": "off",
|
|
"jsx-a11y/anchor-is-valid": "off",
|
|
"jsx-a11y/click-events-have-key-events": "off",
|
|
"jsx-a11y/control-has-associated-label": "off",
|
|
"jsx-a11y/no-noninteractive-element-interactions": "off",
|
|
"jsx-a11y/no-static-element-interactions": "off",
|
|
"jsx-a11y/label-has-associated-control": [
|
|
"error",
|
|
{
|
|
"required": {
|
|
"some": ["nesting", "id"]
|
|
}
|
|
}
|
|
],
|
|
"jsx-a11y/label-has-for": [
|
|
"error",
|
|
{
|
|
"required": {
|
|
"some": ["nesting", "id"]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|