diff --git a/package-lock.json b/package-lock.json index fef8faa..83159e3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "eslint-config-bloq", - "version": "4.4.0", + "version": "4.4.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "eslint-config-bloq", - "version": "4.4.0", + "version": "4.4.1", "license": "MIT", "dependencies": { "@typescript-eslint/eslint-plugin": "^8.11.0", diff --git a/package.json b/package.json index a377b24..57382bb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-bloq", - "version": "4.4.0", + "version": "4.4.1", "description": "Common ESLint config used at Bloq", "keywords": [ "bloq", @@ -13,7 +13,8 @@ "next", "next.js", "node", - "typescript" + "typescript", + "vitest" ], "license": "MIT", "author": "Gabriel Montes ", diff --git a/vitest.js b/vitest.js index 951417d..d5970b1 100644 --- a/vitest.js +++ b/vitest.js @@ -4,14 +4,11 @@ module.exports = { extends: ['plugin:@vitest/legacy-recommended'], plugins: ['@vitest'], rules: { - 'no-unused-expressions': 'off', - 'node/no-unpublished-require': 'warn', - 'prefer-arrow/prefer-arrow-functions': 'off', + // equivalent to mocha/no-skipped-tests + '@vitest/no-disabled-tests': 'error', // equivalent to mocha/no-exclusive-tests - 'vitest/no-focused-tests': 'error', + '@vitest/no-focused-tests': 'error', // equivalent to mocha/no-setup-in-describe - 'vitest/require-hook': 'warn', - // equivalent to mocha/no-skipped-tests - 'vitest/no-disabled-tests': 'error' + '@vitest/require-hook': 'warn' } }