18 Commits

Author SHA1 Message Date
4ac4b30f72 Merge pull request #8 from valentineus/release/2020-10-02
Release/2020 10 02
2020-10-02 17:33:30 +04:00
fd48e4a9ed Bump version
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-10-02 17:28:01 +04:00
b10f5767f4 Updated dependencies
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-10-02 17:27:30 +04:00
565d3f3a4a Merge branch 'master' into develop 2020-10-02 17:21:57 +04:00
6587de6ea8 Merge pull request #6 from valentineus/dependabot/npm_and_yarn/lodash-4.17.19
build(deps): Bump lodash from 4.17.15 to 4.17.19
2020-10-02 17:20:12 +04:00
ca3472cf54 Merge pull request #7 from valentineus/release/2020-06-18
Release/2020 06 18
2020-10-02 17:19:18 +04:00
354d343ce6 build(deps): Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-20 00:52:36 +00:00
8a1a4a502c Bump version
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-06-23 01:06:23 +04:00
0112b8616e Fixed "@typescript-eslint/typedef"
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-06-23 01:05:55 +04:00
507c2927a4 Bump version
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-06-23 01:00:49 +04:00
700b1ff704 Fixed "@typescript-eslint/typedef"
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-06-23 00:59:40 +04:00
5a6483ec98 Bump version
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-06-18 12:09:05 +04:00
65d843d5c2 Corrected TypeScript rules
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-06-18 12:07:33 +04:00
0aef29fcbe Bump version
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-06-18 11:54:20 +04:00
6cef3fc844 Added some react rules
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-06-18 11:53:24 +04:00
f6868cf9b6 Added react-hooks rules
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-06-18 11:47:07 +04:00
58e080f2e7 Fixed "object-curly-newline"
Signed-off-by: Valentin Popov <info@valentineus.link>
2020-06-18 11:37:31 +04:00
c9e51ad9e8 Merge pull request #4 from valentineus/develop
Develop
2020-04-01 14:56:31 +04:00
8 changed files with 886 additions and 633 deletions

View File

@ -1,4 +1,4 @@
# React Hooks
- [ ] "exhaustive-deps"
- [ ] "rules-of-hooks"
- [X] "exhaustive-deps"
- [X] "rules-of-hooks"

View File

@ -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"

1415
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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": {}
}

View File

@ -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
}
}

View File

@ -1 +1,8 @@
{}
{
"react-hooks/exhaustive-deps": [
"warn"
],
"react-hooks/rules-of-hooks": [
"error"
]
}

View File

@ -1 +1,16 @@
{}
{
"react/jsx-boolean-value": [
"error",
"always"
],
"react/jsx-fragments": [
"error",
"element"
],
"react/no-unused-prop-types": [
"warn",
{
"skipShapeProps": false
}
]
}

View File

@ -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
}
],