BoostNote-App/.eslintrc
2019-12-12 17:53:35 +09:00

28 lines
823 B
Plaintext

{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint/eslint-plugin", "react-hooks"],
"extends": [
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/no-unused-vars": "off",
"react/prop-types": "off",
"react/display-name": "off"
},
"settings": {
"react": {
"version": "detect"
}
}
}