haveno-ui/packages/renderer/.eslintrc.json

31 lines
710 B
JSON
Raw Normal View History

{
"env": {
"browser": true,
"node": false
},
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:prettier/recommended"
],
"parserOptions": {
"parser": "@typescript-eslint/parser",
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "react"],
"rules": {
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/consistent-type-imports": "error",
"prettier/prettier": "error",
"react/jsx-curly-brace-presence": "error"
},
"settings": {
"react": {
"version": "detect"
}
}
}