@etchteam/eslint-config 3.2.0 → 3.3.1
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 +3 -9
- package/package.json +1 -1
- package/src/base.mjs +13 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
## 3.
|
|
1
|
+
## <small>3.3.1 (2026-04-21)</small>
|
|
2
2
|
|
|
3
|
-
* Merge pull request #
|
|
4
|
-
*
|
|
5
|
-
* Merge pull request #567 from etchteam/dependabot/npm_and_yarn/eslint-plugin-react-hooks-7.1.0 ([5939065](https://github.com/etchteam/eslint/commit/5939065)), closes [#567](https://github.com/etchteam/eslint/issues/567)
|
|
6
|
-
* Merge pull request #568 from etchteam/feat/add-sonarjs-plugin ([2ebd744](https://github.com/etchteam/eslint/commit/2ebd744)), closes [#568](https://github.com/etchteam/eslint/issues/568)
|
|
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 #571 from etchteam/dependabot/npm_and_yarn/typescript-eslint-8.59.0 ([c97b084](https://github.com/etchteam/eslint/commit/c97b084)), closes [#571](https://github.com/etchteam/eslint/issues/571)
|
|
4
|
+
* fix: Bump typescript-eslint from 8.58.2 to 8.59.0 ([fc0cec9](https://github.com/etchteam/eslint/commit/fc0cec9))
|
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': {
|