mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
Add eslint-plugin-react to .eslintrc
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
{
|
||||
"extends": ["standard", "standard-jsx"],
|
||||
"extends": ["standard", "standard-jsx", "plugin:react/recommended"],
|
||||
"plugins": ["react"],
|
||||
"rules": {
|
||||
"no-useless-escape": 0,
|
||||
"prefer-const": "warn",
|
||||
"no-unused-vars": "warn",
|
||||
"no-undef": "warn",
|
||||
"no-lone-blocks": "warn"
|
||||
"no-lone-blocks": "warn",
|
||||
"react/prop-types": "warn",
|
||||
"react/no-find-dom-node": "warn",
|
||||
"react/no-direct-mutation-state": "warn",
|
||||
"react/no-render-return-value": "warn"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user