nitro-react/.eslintrc.json

35 lines
758 B
JSON
Raw Normal View History

2022-04-01 19:33:08 +02:00
{
"settings": {
"react": {
"pragma": "React",
"version": "17.0.2"
}
},
"env": {
"browser": true,
"es2021": true
},
"extends": [
"plugin:react/recommended",
"plugin:react/jsx-runtime"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint"
],
"rules": {
"indent": ["error", 4, {"SwitchCase": 1}],
"array-bracket-spacing": ["error", "always"],
"brace-style": ["error", "allman"],
"react/prop-types": ["off"]
}
}