Compare commits
	
		
			18 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 4ac4b30f72 | |||
| fd48e4a9ed | |||
| b10f5767f4 | |||
| 565d3f3a4a | |||
| 6587de6ea8 | |||
| ca3472cf54 | |||
| 
						 | 
					354d343ce6 | ||
| 8a1a4a502c | |||
| 0112b8616e | |||
| 507c2927a4 | |||
| 700b1ff704 | |||
| 5a6483ec98 | |||
| 65d843d5c2 | |||
| 0aef29fcbe | |||
| 6cef3fc844 | |||
| f6868cf9b6 | |||
| 58e080f2e7 | |||
| c9e51ad9e8 | 
@@ -1,4 +1,4 @@
 | 
				
			|||||||
# React Hooks
 | 
					# React Hooks
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- [ ] "exhaustive-deps"
 | 
					- [X] "exhaustive-deps"
 | 
				
			||||||
- [ ] "rules-of-hooks"
 | 
					- [X] "rules-of-hooks"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -11,7 +11,7 @@
 | 
				
			|||||||
- [ ] "forbid-foreign-prop-types"
 | 
					- [ ] "forbid-foreign-prop-types"
 | 
				
			||||||
- [ ] "forbid-prop-types"
 | 
					- [ ] "forbid-prop-types"
 | 
				
			||||||
- [ ] "function-component-definition"
 | 
					- [ ] "function-component-definition"
 | 
				
			||||||
- [ ] "jsx-boolean-value"
 | 
					- [X] "jsx-boolean-value"
 | 
				
			||||||
- [ ] "jsx-child-element-spacing"
 | 
					- [ ] "jsx-child-element-spacing"
 | 
				
			||||||
- [ ] "jsx-closing-bracket-location"
 | 
					- [ ] "jsx-closing-bracket-location"
 | 
				
			||||||
- [ ] "jsx-closing-tag-location"
 | 
					- [ ] "jsx-closing-tag-location"
 | 
				
			||||||
@@ -21,7 +21,7 @@
 | 
				
			|||||||
- [ ] "jsx-equals-spacing"
 | 
					- [ ] "jsx-equals-spacing"
 | 
				
			||||||
- [ ] "jsx-filename-extension"
 | 
					- [ ] "jsx-filename-extension"
 | 
				
			||||||
- [ ] "jsx-first-prop-new-line"
 | 
					- [ ] "jsx-first-prop-new-line"
 | 
				
			||||||
- [ ] "jsx-fragments"
 | 
					- [X] "jsx-fragments"
 | 
				
			||||||
- [ ] "jsx-handler-names"
 | 
					- [ ] "jsx-handler-names"
 | 
				
			||||||
- [ ] "jsx-indent"
 | 
					- [ ] "jsx-indent"
 | 
				
			||||||
- [ ] "jsx-indent-props"
 | 
					- [ ] "jsx-indent-props"
 | 
				
			||||||
@@ -69,7 +69,7 @@
 | 
				
			|||||||
- [ ] "no-unescaped-entities"
 | 
					- [ ] "no-unescaped-entities"
 | 
				
			||||||
- [ ] "no-unknown-property"
 | 
					- [ ] "no-unknown-property"
 | 
				
			||||||
- [ ] "no-unsafe"
 | 
					- [ ] "no-unsafe"
 | 
				
			||||||
- [ ] "no-unused-prop-types"
 | 
					- [X] "no-unused-prop-types"
 | 
				
			||||||
- [ ] "no-unused-state"
 | 
					- [ ] "no-unused-state"
 | 
				
			||||||
- [ ] "no-will-update-set-state"
 | 
					- [ ] "no-will-update-set-state"
 | 
				
			||||||
- [ ] "prefer-es6-class"
 | 
					- [ ] "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",
 | 
					  "name": "@valentineus/eslint-config",
 | 
				
			||||||
  "version": "0.0.17",
 | 
					  "version": "0.0.22",
 | 
				
			||||||
  "description": "Personal ESLint configuration",
 | 
					  "description": "Personal ESLint configuration",
 | 
				
			||||||
  "main": "index.js",
 | 
					  "main": "index.js",
 | 
				
			||||||
  "repository": "git@code.valentineus.link:eslint-config.git",
 | 
					  "repository": "git@code.valentineus.link:eslint-config.git",
 | 
				
			||||||
@@ -12,38 +12,38 @@
 | 
				
			|||||||
  },
 | 
					  },
 | 
				
			||||||
  "devDependencies": {
 | 
					  "devDependencies": {
 | 
				
			||||||
    "@rollup/plugin-json": "^4.1.0",
 | 
					    "@rollup/plugin-json": "^4.1.0",
 | 
				
			||||||
    "@rollup/plugin-typescript": "^4.1.2",
 | 
					    "@rollup/plugin-typescript": "^6.0.0",
 | 
				
			||||||
    "@types/node": "^14.0.13",
 | 
					    "@types/node": "^14.11.2",
 | 
				
			||||||
    "@typescript-eslint/eslint-plugin": "^3.3.0",
 | 
					    "@typescript-eslint/eslint-plugin": "^4.3.0",
 | 
				
			||||||
    "@typescript-eslint/parser": "^3.3.0",
 | 
					    "@typescript-eslint/parser": "^4.3.0",
 | 
				
			||||||
    "eslint": "^7.2.0",
 | 
					    "eslint": "^7.10.0",
 | 
				
			||||||
    "eslint-plugin-eslint-comments": "^3.2.0",
 | 
					    "eslint-plugin-eslint-comments": "^3.2.0",
 | 
				
			||||||
    "eslint-plugin-import": "^2.21.2",
 | 
					    "eslint-plugin-import": "^2.22.1",
 | 
				
			||||||
    "eslint-plugin-jsx-a11y": "^6.2.3",
 | 
					    "eslint-plugin-jsx-a11y": "^6.3.1",
 | 
				
			||||||
    "eslint-plugin-react": "^7.20.0",
 | 
					    "eslint-plugin-react": "^7.21.2",
 | 
				
			||||||
    "eslint-plugin-react-hooks": "^4.0.4",
 | 
					    "eslint-plugin-react-hooks": "^4.1.2",
 | 
				
			||||||
    "eslint-plugin-security": "^1.4.0",
 | 
					    "eslint-plugin-security": "^1.4.0",
 | 
				
			||||||
    "eslint-plugin-sonarjs": "^0.5.0",
 | 
					    "eslint-plugin-sonarjs": "^0.5.0",
 | 
				
			||||||
    "eslint-plugin-unicorn": "^20.1.0",
 | 
					    "eslint-plugin-unicorn": "^22.0.0",
 | 
				
			||||||
    "eslint-plugin-vue": "^6.2.2",
 | 
					    "eslint-plugin-vue": "^7.0.0",
 | 
				
			||||||
    "rollup": "^2.17.0",
 | 
					    "rollup": "^2.28.2",
 | 
				
			||||||
    "rollup-plugin-terser": "^6.1.0",
 | 
					    "rollup-plugin-terser": "^7.0.2",
 | 
				
			||||||
    "tslib": "^2.0.0",
 | 
					    "tslib": "^2.0.1",
 | 
				
			||||||
    "typescript": "^3.9.5"
 | 
					    "typescript": "^4.0.3"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "peerDependencies": {
 | 
					  "peerDependencies": {
 | 
				
			||||||
    "@typescript-eslint/eslint-plugin": "^3.3.0",
 | 
					    "@typescript-eslint/eslint-plugin": "^4.3.0",
 | 
				
			||||||
    "@typescript-eslint/parser": "^3.3.0",
 | 
					    "@typescript-eslint/parser": "^4.3.0",
 | 
				
			||||||
    "eslint": "^7.2.0",
 | 
					    "eslint": "^7.10.0",
 | 
				
			||||||
    "eslint-plugin-eslint-comments": "^3.2.0",
 | 
					    "eslint-plugin-eslint-comments": "^3.2.0",
 | 
				
			||||||
    "eslint-plugin-import": "^2.21.2",
 | 
					    "eslint-plugin-import": "^2.22.1",
 | 
				
			||||||
    "eslint-plugin-jsx-a11y": "^6.2.3",
 | 
					    "eslint-plugin-jsx-a11y": "^6.3.1",
 | 
				
			||||||
    "eslint-plugin-react": "^7.20.0",
 | 
					    "eslint-plugin-react": "^7.21.2",
 | 
				
			||||||
    "eslint-plugin-react-hooks": "^4.0.4",
 | 
					    "eslint-plugin-react-hooks": "^4.1.2",
 | 
				
			||||||
    "eslint-plugin-security": "^1.4.0",
 | 
					    "eslint-plugin-security": "^1.4.0",
 | 
				
			||||||
    "eslint-plugin-sonarjs": "^0.5.0",
 | 
					    "eslint-plugin-sonarjs": "^0.5.0",
 | 
				
			||||||
    "eslint-plugin-unicorn": "^20.1.0",
 | 
					    "eslint-plugin-unicorn": "^22.0.0",
 | 
				
			||||||
    "eslint-plugin-vue": "^6.2.2"
 | 
					    "eslint-plugin-vue": "^7.0.0"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "dependencies": {}
 | 
					  "dependencies": {}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -454,18 +454,18 @@
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
      "ExportDeclaration": {
 | 
					      "ExportDeclaration": {
 | 
				
			||||||
        "consistent": true,
 | 
					        "consistent": true,
 | 
				
			||||||
        "minProperties": 1,
 | 
					        "minProperties": 5,
 | 
				
			||||||
        "multiline": true
 | 
					        "multiline": true
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "ImportDeclaration": "never",
 | 
					      "ImportDeclaration": "never",
 | 
				
			||||||
      "ObjectExpression": {
 | 
					      "ObjectExpression": {
 | 
				
			||||||
        "consistent": true,
 | 
					        "consistent": true,
 | 
				
			||||||
        "minProperties": 1,
 | 
					        "minProperties": 5,
 | 
				
			||||||
        "multiline": true
 | 
					        "multiline": true
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
      "ObjectPattern": {
 | 
					      "ObjectPattern": {
 | 
				
			||||||
        "consistent": true,
 | 
					        "consistent": true,
 | 
				
			||||||
        "minProperties": 1,
 | 
					        "minProperties": 5,
 | 
				
			||||||
        "multiline": true
 | 
					        "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"
 | 
					    "error"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
  "@typescript-eslint/no-unsafe-member-access": [
 | 
					  "@typescript-eslint/no-unsafe-member-access": [
 | 
				
			||||||
    "error"
 | 
					    "warn"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
  "@typescript-eslint/no-unsafe-return": [
 | 
					  "@typescript-eslint/no-unsafe-return": [
 | 
				
			||||||
    "error"
 | 
					    "error"
 | 
				
			||||||
@@ -167,7 +167,7 @@
 | 
				
			|||||||
    "error"
 | 
					    "error"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
  "@typescript-eslint/prefer-readonly-parameter-types": [
 | 
					  "@typescript-eslint/prefer-readonly-parameter-types": [
 | 
				
			||||||
    "error",
 | 
					    "warn",
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
      "checkParameterProperties": true
 | 
					      "checkParameterProperties": true
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@@ -249,10 +249,10 @@
 | 
				
			|||||||
      "arrayDestructuring": true,
 | 
					      "arrayDestructuring": true,
 | 
				
			||||||
      "arrowParameter": true,
 | 
					      "arrowParameter": true,
 | 
				
			||||||
      "memberVariableDeclaration": true,
 | 
					      "memberVariableDeclaration": true,
 | 
				
			||||||
      "objectDestructuring": true,
 | 
					      "objectDestructuring": false,
 | 
				
			||||||
      "parameter": true,
 | 
					      "parameter": true,
 | 
				
			||||||
      "propertyDeclaration": true,
 | 
					      "propertyDeclaration": true,
 | 
				
			||||||
      "variableDeclaration": true,
 | 
					      "variableDeclaration": false,
 | 
				
			||||||
      "variableDeclarationIgnoreFunction": false
 | 
					      "variableDeclarationIgnoreFunction": false
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user