Compare commits
17 Commits
Author | SHA1 | Date | |
---|---|---|---|
fd48e4a9ed | |||
b10f5767f4 | |||
565d3f3a4a | |||
6587de6ea8 | |||
ca3472cf54 | |||
354d343ce6 | |||
8a1a4a502c | |||
0112b8616e | |||
507c2927a4 | |||
700b1ff704 | |||
5a6483ec98 | |||
65d843d5c2 | |||
0aef29fcbe | |||
6cef3fc844 | |||
f6868cf9b6 | |||
58e080f2e7 | |||
c9e51ad9e8 |
@ -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"
|
||||
|
1407
package-lock.json
generated
1407
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
50
package.json
50
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@valentineus/eslint-config",
|
||||
"version": "0.0.17",
|
||||
"version": "0.0.22",
|
||||
"description": "Personal ESLint configuration",
|
||||
"main": "index.js",
|
||||
"repository": "git@code.valentineus.link:eslint-config.git",
|
||||
@ -12,38 +12,38 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-json": "^4.1.0",
|
||||
"@rollup/plugin-typescript": "^4.1.2",
|
||||
"@types/node": "^14.0.13",
|
||||
"@typescript-eslint/eslint-plugin": "^3.3.0",
|
||||
"@typescript-eslint/parser": "^3.3.0",
|
||||
"eslint": "^7.2.0",
|
||||
"@rollup/plugin-typescript": "^6.0.0",
|
||||
"@types/node": "^14.11.2",
|
||||
"@typescript-eslint/eslint-plugin": "^4.3.0",
|
||||
"@typescript-eslint/parser": "^4.3.0",
|
||||
"eslint": "^7.10.0",
|
||||
"eslint-plugin-eslint-comments": "^3.2.0",
|
||||
"eslint-plugin-import": "^2.21.2",
|
||||
"eslint-plugin-jsx-a11y": "^6.2.3",
|
||||
"eslint-plugin-react": "^7.20.0",
|
||||
"eslint-plugin-react-hooks": "^4.0.4",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint-plugin-jsx-a11y": "^6.3.1",
|
||||
"eslint-plugin-react": "^7.21.2",
|
||||
"eslint-plugin-react-hooks": "^4.1.2",
|
||||
"eslint-plugin-security": "^1.4.0",
|
||||
"eslint-plugin-sonarjs": "^0.5.0",
|
||||
"eslint-plugin-unicorn": "^20.1.0",
|
||||
"eslint-plugin-vue": "^6.2.2",
|
||||
"rollup": "^2.17.0",
|
||||
"rollup-plugin-terser": "^6.1.0",
|
||||
"tslib": "^2.0.0",
|
||||
"typescript": "^3.9.5"
|
||||
"eslint-plugin-unicorn": "^22.0.0",
|
||||
"eslint-plugin-vue": "^7.0.0",
|
||||
"rollup": "^2.28.2",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"tslib": "^2.0.1",
|
||||
"typescript": "^4.0.3"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^3.3.0",
|
||||
"@typescript-eslint/parser": "^3.3.0",
|
||||
"eslint": "^7.2.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.3.0",
|
||||
"@typescript-eslint/parser": "^4.3.0",
|
||||
"eslint": "^7.10.0",
|
||||
"eslint-plugin-eslint-comments": "^3.2.0",
|
||||
"eslint-plugin-import": "^2.21.2",
|
||||
"eslint-plugin-jsx-a11y": "^6.2.3",
|
||||
"eslint-plugin-react": "^7.20.0",
|
||||
"eslint-plugin-react-hooks": "^4.0.4",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint-plugin-jsx-a11y": "^6.3.1",
|
||||
"eslint-plugin-react": "^7.21.2",
|
||||
"eslint-plugin-react-hooks": "^4.1.2",
|
||||
"eslint-plugin-security": "^1.4.0",
|
||||
"eslint-plugin-sonarjs": "^0.5.0",
|
||||
"eslint-plugin-unicorn": "^20.1.0",
|
||||
"eslint-plugin-vue": "^6.2.2"
|
||||
"eslint-plugin-unicorn": "^22.0.0",
|
||||
"eslint-plugin-vue": "^7.0.0"
|
||||
},
|
||||
"dependencies": {}
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
@ -249,10 +249,10 @@
|
||||
"arrayDestructuring": true,
|
||||
"arrowParameter": true,
|
||||
"memberVariableDeclaration": true,
|
||||
"objectDestructuring": true,
|
||||
"objectDestructuring": false,
|
||||
"parameter": true,
|
||||
"propertyDeclaration": true,
|
||||
"variableDeclaration": true,
|
||||
"variableDeclaration": false,
|
||||
"variableDeclarationIgnoreFunction": false
|
||||
}
|
||||
],
|
||||
|
Reference in New Issue
Block a user