Skip to content

Commit e5d5411

Browse files
committed
Apply the same rules that we use in dnsimple-app
1 parent 06c10c7 commit e5d5411

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

eslint.config.mjs

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,20 @@ export default [
1717
},
1818
},
1919
rules: {
20-
'no-unused-vars': ['error', { argsIgnorePattern: '^_', caughtErrorsIgnorePattern: '^_' }],
21-
'vue/multi-word-component-names': 'off',
22-
'vue/max-attributes-per-line': 'off',
23-
'vue/html-self-closing': 'off',
24-
'vue/singleline-html-element-content-newline': 'off',
25-
'vue/v-bind-style': 'off',
26-
'vue/attributes-order': 'off',
27-
'vue/no-v-html': 'off',
20+
semi: ['error', 'always'], // Enforce semicolons
21+
curly: ['error', 'multi'], // Enforce curly braces only for multi-line blocks
22+
'jest/valid-title': 'off', // To be removed
23+
'jest/no-standalone-expect': 'off', // To be removed
24+
'jest/no-disabled-tests': 'off', // To be removed
25+
'jest/no-conditional-expect': 'off', // To be removed
26+
'jest/valid-expect': 'off', // To be removed
27+
'jest/no-test-prefixes': 'off', // To be removed
28+
'jest/no-export': 'off', // To be removed
29+
'jest/no-alias-methods': 'off', // To be removed
30+
'jest/expect-expect': 'off', // To be removed
31+
'jest/valid-describe-callback': 'off', // To be removed
32+
'vue/require-v-for-key': 'off', // To be removed
33+
'vue/no-reserved-component-names': 'off', // To be removed
2834
},
2935
},
3036
{

0 commit comments

Comments
 (0)