Skip to content

Commit 906e772

Browse files
chore: disable a rule that breaks compressor
1 parent de01fa3 commit 906e772

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

eslint.config.mjs

+5-1
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,17 @@ export default [
3434
'sonarjs/cognitive-complexity': 'off',
3535
'sonarjs/no-duplicate-string': 'off',
3636
'unicorn/filename-case': 'off',
37+
'unicorn/no-this-assignment': 'off',
3738
'unicorn/no-array-callback-reference': 'off',
3839
'unicorn/no-for-loop': 'off',
3940
'unicorn/no-null': 'off',
40-
'unicorn/no-this-assignment': 'off',
41+
// disabled for js compressor compatibility
42+
// it does not support new JS features
43+
// TODO: find a replacement for compressor
4144
'unicorn/numeric-separators-style': 'off',
4245
'unicorn/prefer-module': 'off',
4346
'unicorn/prefer-spread': 'off',
47+
'unicorn/prefer-string-raw': 'off',
4448
},
4549
},
4650
];

0 commit comments

Comments
 (0)