@etchteam/eslint-config 3.2.0 → 3.3.0
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 +5 -9
- package/package.json +1 -1
- package/src/base.mjs +13 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
## 3.
|
|
1
|
+
## 3.3.0 (2026-04-20)
|
|
2
2
|
|
|
3
|
-
* Merge pull request #
|
|
4
|
-
* Merge pull request #
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* feat: add eslint-plugin-sonarjs to base config ([a111ccc](https://github.com/etchteam/eslint/commit/a111ccc))
|
|
8
|
-
* chore: Bump @darraghor/eslint-plugin-nestjs-typed from 7.1.29 to 7.1.30 ([2d938f5](https://github.com/etchteam/eslint/commit/2d938f5))
|
|
9
|
-
* chore: Bump @next/eslint-plugin-next from 16.2.3 to 16.2.4 ([eb7a485](https://github.com/etchteam/eslint/commit/eb7a485))
|
|
10
|
-
* chore: Bump eslint-plugin-react-hooks from 7.0.1 to 7.1.0 ([607d6c6](https://github.com/etchteam/eslint/commit/607d6c6))
|
|
3
|
+
* Merge pull request #569 from etchteam/dependabot/npm_and_yarn/eslint-plugin-react-hooks-7.1.1 ([8d50811](https://github.com/etchteam/eslint/commit/8d50811)), closes [#569](https://github.com/etchteam/eslint/issues/569)
|
|
4
|
+
* Merge pull request #570 from etchteam/feat/new-lint-rules ([ea92a60](https://github.com/etchteam/eslint/commit/ea92a60)), closes [#570](https://github.com/etchteam/eslint/issues/570)
|
|
5
|
+
* feat: add dot-notation, no-implicit-coercion, and Number.* global rules ([321bed3](https://github.com/etchteam/eslint/commit/321bed3))
|
|
6
|
+
* chore: Bump eslint-plugin-react-hooks from 7.1.0 to 7.1.1 ([5c3c5e4](https://github.com/etchteam/eslint/commit/5c3c5e4))
|
package/package.json
CHANGED
package/src/base.mjs
CHANGED
|
@@ -85,6 +85,19 @@ export default [
|
|
|
85
85
|
'security/detect-object-injection': 'off',
|
|
86
86
|
'spaced-comment': 'error',
|
|
87
87
|
curly: 'error',
|
|
88
|
+
'dot-notation': 'warn',
|
|
89
|
+
'no-implicit-coercion': 'error',
|
|
90
|
+
'no-restricted-globals': [
|
|
91
|
+
'error',
|
|
92
|
+
{
|
|
93
|
+
name: 'parseInt',
|
|
94
|
+
message: 'Use Number.parseInt instead.',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
name: 'parseFloat',
|
|
98
|
+
message: 'Use Number.parseFloat instead.',
|
|
99
|
+
},
|
|
100
|
+
],
|
|
88
101
|
},
|
|
89
102
|
settings: {
|
|
90
103
|
'import/resolver': {
|