Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
507c2927a4 | |||
700b1ff704 | |||
5a6483ec98 | |||
65d843d5c2 | |||
0aef29fcbe | |||
6cef3fc844 | |||
f6868cf9b6 | |||
58e080f2e7 |
@ -1,4 +1,4 @@
|
||||
# React Hooks
|
||||
|
||||
- [ ] "exhaustive-deps"
|
||||
- [ ] "rules-of-hooks"
|
||||
- [X] "exhaustive-deps"
|
||||
- [X] "rules-of-hooks"
|
||||
|
@ -11,7 +11,7 @@
|
||||
- [ ] "forbid-foreign-prop-types"
|
||||
- [ ] "forbid-prop-types"
|
||||
- [ ] "function-component-definition"
|
||||
- [ ] "jsx-boolean-value"
|
||||
- [X] "jsx-boolean-value"
|
||||
- [ ] "jsx-child-element-spacing"
|
||||
- [ ] "jsx-closing-bracket-location"
|
||||
- [ ] "jsx-closing-tag-location"
|
||||
@ -21,7 +21,7 @@
|
||||
- [ ] "jsx-equals-spacing"
|
||||
- [ ] "jsx-filename-extension"
|
||||
- [ ] "jsx-first-prop-new-line"
|
||||
- [ ] "jsx-fragments"
|
||||
- [X] "jsx-fragments"
|
||||
- [ ] "jsx-handler-names"
|
||||
- [ ] "jsx-indent"
|
||||
- [ ] "jsx-indent-props"
|
||||
@ -69,7 +69,7 @@
|
||||
- [ ] "no-unescaped-entities"
|
||||
- [ ] "no-unknown-property"
|
||||
- [ ] "no-unsafe"
|
||||
- [ ] "no-unused-prop-types"
|
||||
- [X] "no-unused-prop-types"
|
||||
- [ ] "no-unused-state"
|
||||
- [ ] "no-will-update-set-state"
|
||||
- [ ] "prefer-es6-class"
|
||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@valentineus/eslint-config",
|
||||
"version": "0.0.17",
|
||||
"version": "0.0.20",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@valentineus/eslint-config",
|
||||
"version": "0.0.17",
|
||||
"version": "0.0.20",
|
||||
"description": "Personal ESLint configuration",
|
||||
"main": "index.js",
|
||||
"repository": "git@code.valentineus.link:eslint-config.git",
|
||||
|
@ -454,18 +454,18 @@
|
||||
{
|
||||
"ExportDeclaration": {
|
||||
"consistent": true,
|
||||
"minProperties": 1,
|
||||
"minProperties": 5,
|
||||
"multiline": true
|
||||
},
|
||||
"ImportDeclaration": "never",
|
||||
"ObjectExpression": {
|
||||
"consistent": true,
|
||||
"minProperties": 1,
|
||||
"minProperties": 5,
|
||||
"multiline": true
|
||||
},
|
||||
"ObjectPattern": {
|
||||
"consistent": true,
|
||||
"minProperties": 1,
|
||||
"minProperties": 5,
|
||||
"multiline": true
|
||||
}
|
||||
}
|
||||
|
@ -1 +1,8 @@
|
||||
{}
|
||||
{
|
||||
"react-hooks/exhaustive-deps": [
|
||||
"warn"
|
||||
],
|
||||
"react-hooks/rules-of-hooks": [
|
||||
"error"
|
||||
]
|
||||
}
|
@ -1 +1,16 @@
|
||||
{}
|
||||
{
|
||||
"react/jsx-boolean-value": [
|
||||
"error",
|
||||
"always"
|
||||
],
|
||||
"react/jsx-fragments": [
|
||||
"error",
|
||||
"element"
|
||||
],
|
||||
"react/no-unused-prop-types": [
|
||||
"warn",
|
||||
{
|
||||
"skipShapeProps": false
|
||||
}
|
||||
]
|
||||
}
|
@ -133,7 +133,7 @@
|
||||
"error"
|
||||
],
|
||||
"@typescript-eslint/no-unsafe-member-access": [
|
||||
"error"
|
||||
"warn"
|
||||
],
|
||||
"@typescript-eslint/no-unsafe-return": [
|
||||
"error"
|
||||
@ -167,7 +167,7 @@
|
||||
"error"
|
||||
],
|
||||
"@typescript-eslint/prefer-readonly-parameter-types": [
|
||||
"error",
|
||||
"warn",
|
||||
{
|
||||
"checkParameterProperties": true
|
||||
}
|
||||
@ -252,7 +252,7 @@
|
||||
"objectDestructuring": true,
|
||||
"parameter": true,
|
||||
"propertyDeclaration": true,
|
||||
"variableDeclaration": true,
|
||||
"variableDeclaration": false,
|
||||
"variableDeclarationIgnoreFunction": false
|
||||
}
|
||||
],
|
||||
|
Reference in New Issue
Block a user