-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(dependencies): update dependencies | update eslint (#76)
- Loading branch information
Showing
4 changed files
with
1,306 additions
and
871 deletions.
There are no files selected for viewing
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,39 @@ | ||
/* eslint-env node */ | ||
|
||
import vuePlugin from "eslint-plugin-vue"; | ||
// import vueA11yPlugin from "eslint-plugin-vuejs-accessibility"; | ||
import prettierPlugin from "eslint-plugin-prettier/recommended"; | ||
import typescriptConfig from "@vue/eslint-config-typescript"; | ||
import prettierConfig from "@vue/eslint-config-prettier"; | ||
|
||
export default [ | ||
// add more generic rulesets here | ||
...vuePlugin.configs["flat/recommended"], | ||
// ...vueA11yPlugin.configs["flat/recommended"], | ||
...typescriptConfig(), | ||
prettierPlugin, | ||
prettierConfig, | ||
|
||
// your modifications | ||
{ | ||
ignores: ["**/.*", "**/dist"], | ||
rules: { | ||
"@typescript-eslint/no-explicit-any": ["warn"], | ||
"@typescript-eslint/ban-ts-comment": ["warn"], | ||
"@typescript-eslint/explicit-function-return-type": ["warn"], | ||
"vue/padding-line-between-blocks": ["error", "always"], | ||
"vue/multi-word-component-names": ["off"], | ||
"vue/block-order": ["error", { order: ["script", "template", "style"] }], | ||
"vue/block-lang": ["error", { script: { lang: "ts" } }], | ||
"comma-dangle": ["error", "always-multiline"], | ||
"prettier/prettier": [ | ||
"error", | ||
{ | ||
trailingComma: "all", | ||
endOfLine: "auto", | ||
bracketSameLine: true, | ||
}, | ||
], | ||
}, | ||
}, | ||
]; |
Oops, something went wrong.