@billogram/eslint-config
Advanced tools
Comparing version 2.9.3 to 2.10.0
@@ -6,2 +6,16 @@ # Change Log | ||
## [2.10.0](https://github.com/billogram/frontend-dev-tools/compare/@billogram/eslint-config@2.9.3...@billogram/eslint-config@2.10.0) (2021-03-08) | ||
### Bug Fixes | ||
* Allow Link for react/forbid-component-props ([3192f24](https://github.com/billogram/frontend-dev-tools/commit/3192f24)) | ||
### Features | ||
* Turn off react/no-array-index-key ([0565a97](https://github.com/billogram/frontend-dev-tools/commit/0565a97)) | ||
* Turn off react/jsx-no-bind ([034530a](https://github.com/billogram/frontend-dev-tools/commit/034530a)) | ||
## [2.9.3](https://github.com/billogram/frontend-dev-tools/compare/@billogram/eslint-config@2.9.2...@billogram/eslint-config@2.9.3) (2021-01-15) | ||
@@ -8,0 +22,0 @@ |
@@ -19,3 +19,9 @@ module.exports = { | ||
'react/forbid-component-props': ['warn', { | ||
forbid: ['className', 'style'], | ||
forbid: [ | ||
{ | ||
propName: 'className', | ||
allowedFor: ['Link'], | ||
}, | ||
'style', | ||
], | ||
}], | ||
@@ -68,9 +74,3 @@ 'react/forbid-dom-props': 'off', | ||
'react/jsx-newline': 'off', | ||
'react/jsx-no-bind': ['warn', { | ||
allowArrowFunctions: false, | ||
allowBind: false, | ||
allowFunctions: false, | ||
ignoreDOMComponents: false, | ||
ignoreRefs: false, | ||
}], | ||
'react/jsx-no-bind': 'off', | ||
'react/jsx-no-comment-textnodes': ['warn', {}], | ||
@@ -122,3 +122,3 @@ 'react/jsx-no-constructed-context-values': 'warn', | ||
'react/no-adjacent-inline-elements': 'off', | ||
'react/no-array-index-key': 'warn', | ||
'react/no-array-index-key': 'off', | ||
'react/no-children-prop': 'warn', | ||
@@ -125,0 +125,0 @@ 'react/no-danger': 'off', |
{ | ||
"name": "@billogram/eslint-config", | ||
"version": "2.9.3", | ||
"version": "2.10.0", | ||
"description": "Custom ESLint configurations", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
56227