Skip to content

Commit addb674

Browse files
committed
Disable immutable-data for config files
1 parent 3706f39 commit addb674

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/configs/typescript.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import * as importPlugin from 'eslint-plugin-import';
44
import tseslint from 'typescript-eslint';
55
import {
6+
CONFIG_FILE_PATTERNS,
67
negatePatterns,
78
STORYBOOK_FILE_PATTERNS,
89
TEST_FILE_PATTERNS,
@@ -138,6 +139,13 @@ export default tseslint.config(
138139
},
139140
],
140141
},
142+
{
143+
name: 'code-pushup/javascript/configs/disabled',
144+
files: CONFIG_FILE_PATTERNS,
145+
rules: {
146+
'functional/immutable-data': 'off',
147+
},
148+
},
141149
{
142150
name: 'code-pushup/typescript/storybook/customized',
143151
files: STORYBOOK_FILE_PATTERNS,

0 commit comments

Comments
 (0)