@nfq/eslint-config 2.3.0 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/rules/react.js +1 -1
- package/rules/typescript.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [2.3.2](https://github.com/nfqde/eslint-config-nfq/compare/v2.3.1...v2.3.2) (2023-05-17)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **style-prop-object:** Remove this rule because its dump ([#40](https://github.com/nfqde/eslint-config-nfq/issues/40)) ([23ef844](https://github.com/nfqde/eslint-config-nfq/commit/23ef84479d77c8b9c841a8177bfe2a5bb5227661))
|
|
11
|
+
|
|
12
|
+
### [2.3.1](https://github.com/nfqde/eslint-config-nfq/compare/v2.3.0...v2.3.1) (2023-05-17)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **no-undefined:** Remove rule because it makes no sense in typescript ([#39](https://github.com/nfqde/eslint-config-nfq/issues/39)) ([6c90eca](https://github.com/nfqde/eslint-config-nfq/commit/6c90ecabbfd25501b032f266d468cdd7d483e5ce))
|
|
18
|
+
|
|
5
19
|
## [2.3.0](https://github.com/nfqde/eslint-config-nfq/compare/v2.2.11...v2.3.0) (2023-04-21)
|
|
6
20
|
|
|
7
21
|
|
package/package.json
CHANGED
package/rules/react.js
CHANGED
|
@@ -313,7 +313,7 @@ module.exports = {
|
|
|
313
313
|
], // Enforce propTypes declarations alphabetical sorting https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/sort-prop-types.md
|
|
314
314
|
'react/state-in-constructor': ['error', 'always'], // Enforce state initialization style https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/state-in-constructor.md
|
|
315
315
|
'react/static-property-placement': ['error', 'static public field'], // Enforces where React component static properties should be positioned https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/static-property-placement.md
|
|
316
|
-
'react/style-prop-object': '
|
|
316
|
+
'react/style-prop-object': 'off', // Require style prop value be an object or var https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/style-prop-object.md
|
|
317
317
|
'react/void-dom-elements-no-children': 'error' // Prevent void DOM elements from receiving children https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/void-dom-elements-no-children.md
|
|
318
318
|
}
|
|
319
319
|
};
|
package/rules/typescript.js
CHANGED