Block only tests

This commit is contained in:
Sidharth Vinod
2022-11-24 22:07:14 +05:30
parent 0378cd4ba6
commit 9d3a33e593
3 changed files with 9 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ module.exports = {
'plugin:@typescript-eslint/strict',
'prettier'
],
plugins: ['svelte3', 'tailwindcss', '@typescript-eslint', 'es', 'vitest'],
plugins: ['svelte3', 'tailwindcss', '@typescript-eslint', 'es', 'vitest', 'no-only-tests'],
ignorePatterns: [
'docs/*',
'*.cjs',
@@ -58,6 +58,7 @@ module.exports = {
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'es/no-regexp-lookbehind-assertions': 'error',
curly: ['error', 'all']
curly: ['error', 'all'],
'no-only-tests/no-only-tests': 'error'
}
};