-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump eslint from 8.57.0 to 9.17.0 (#1323)
- Loading branch information
1 parent
f1a6785
commit a40f07e
Showing
6 changed files
with
339 additions
and
1,196 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import globals from "globals"; | ||
import vue from "eslint-plugin-vue"; | ||
import jest from 'eslint-plugin-jest'; | ||
|
||
export default [ | ||
{ | ||
files: ["**/*.{js,mjs,cjs,vue}"] | ||
}, | ||
{ | ||
ignores: ["output/"] | ||
}, | ||
{ | ||
languageOptions: { globals: globals.browser } | ||
}, | ||
{ | ||
plugins: { jest }, | ||
rules: { | ||
...jest.configs.recommended.rules, | ||
}, | ||
}, | ||
...vue.configs["flat/essential"], | ||
{ | ||
rules: { | ||
semi: ['error', 'always'], // Enforce semicolons | ||
curly: ['error', 'multi'], // Enforce curly braces only for multi-line blocks | ||
'jest/valid-title': 'off', // To be removed | ||
'jest/no-standalone-expect': 'off', // To be removed | ||
'jest/no-disabled-tests': 'off', // To be removed | ||
'jest/no-conditional-expect': 'off', // To be removed | ||
'jest/valid-expect': 'off', // To be removed | ||
'jest/no-test-prefixes': 'off', // To be removed | ||
'jest/no-export': 'off', // To be removed | ||
'jest/no-alias-methods': 'off', // To be removed | ||
'jest/expect-expect': 'off', // To be removed | ||
'jest/valid-describe-callback': 'off', // To be removed | ||
'vue/require-v-for-key': 'off', // To be removed | ||
'vue/no-reserved-component-names': 'off', // To be removed | ||
} | ||
} | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.