@dmitryrechkin/eslint-standard 1.3.8 → 1.3.9
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/eslint.config.mjs +2 -2
- package/package.json +1 -1
package/eslint.config.mjs
CHANGED
|
@@ -642,7 +642,7 @@ export default function ({
|
|
|
642
642
|
'unicorn/new-for-builtins': 'error',
|
|
643
643
|
'unicorn/no-abusive-eslint-disable': 'error',
|
|
644
644
|
'unicorn/no-array-callback-reference': 'error',
|
|
645
|
-
'unicorn/no-array-for-each': '
|
|
645
|
+
'unicorn/no-array-for-each': 'off', // Conflicts with functional/no-loop-statements - was converting forEach to for...of
|
|
646
646
|
'unicorn/no-array-method-this-argument': 'error',
|
|
647
647
|
'unicorn/no-array-push-push': 'error',
|
|
648
648
|
'unicorn/no-array-reduce': 'warn',
|
|
@@ -774,7 +774,7 @@ export default function ({
|
|
|
774
774
|
'functional/functional-parameters': 'off', // Too restrictive
|
|
775
775
|
'functional/no-return-void': 'off', // Allow void returns
|
|
776
776
|
'functional/no-conditional-statements': 'off', // Too restrictive
|
|
777
|
-
'functional/no-loop-statements': '
|
|
777
|
+
'functional/no-loop-statements': 'off', // Allow both loops and functional methods - choose based on use case
|
|
778
778
|
'functional/immutable-data': ['warn', {
|
|
779
779
|
ignoreImmediateMutation: true,
|
|
780
780
|
ignoreAccessorPattern: [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dmitryrechkin/eslint-standard",
|
|
3
3
|
"description": "This package provides a shared ESLint configuration which includes TypeScript support and a set of specific linting rules designed to ensure high-quality and consistent code style across projects.",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.9",
|
|
5
5
|
"main": "eslint.config.mjs",
|
|
6
6
|
"bin": {
|
|
7
7
|
"eslint-standard": "./src/cli/index.mjs"
|