Skip to content

Commit 1cbb95e

Browse files
committed
chore: improve eslint config
Signed-off-by: Sebastian Davids <[email protected]>
1 parent 74a3958 commit 1cbb95e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

hp/eslint.config.mjs

+11-1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ export default [
8787
files: ['e2e/**/*.mjs'],
8888
rules: {
8989
...playwright.configs['flat/recommended'].rules,
90+
'playwright/no-skipped-test': [
91+
'error',
92+
{
93+
allowConditional: true,
94+
},
95+
],
9096
},
9197
name: 'eslint/playwright',
9298
},
@@ -96,17 +102,21 @@ export default [
96102
'capitalized-comments': 'off',
97103
'func-names': ['error', 'always', { generators: 'as-needed' }],
98104
'id-length': 'off',
105+
'line-comment-position': 'off',
99106
'max-lines': 'off',
100107
'max-lines-per-function': 'off',
101108
'max-params': 'off',
102109
'max-statements': 'off',
110+
'multiline-comment-style': 'off',
103111
'no-continue': 'off',
104112
'no-inline-comments': 'off',
105113
'no-magic-numbers': 'off',
106114
'no-param-reassign': 'off',
107115
'no-plusplus': 'off',
116+
'no-shadow': 'off',
108117
'no-ternary': 'off',
109-
'no-unused-vars': ['error', { argsIgnorePattern: '^_$' }],
118+
'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
119+
'no-warning-comments': 'off',
110120
'one-var': 'off',
111121
'prefer-destructuring': ['error', { object: true, array: false }],
112122
'sort-keys': 'off',

0 commit comments

Comments
 (0)