forked from filebrowser/filebrowser
-
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.
- Loading branch information
1 parent
9d50f5b
commit 4ac0568
Showing
36 changed files
with
5,614 additions
and
8,227 deletions.
There are no files selected for viewing
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
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 was deleted.
Oops, something went wrong.
File renamed without changes.
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 @@ | ||
import pluginVue from "eslint-plugin-vue"; | ||
import vueTsEslintConfig from "@vue/eslint-config-typescript"; | ||
import prettierConfig from "@vue/eslint-config-prettier"; | ||
|
||
export default [ | ||
{ | ||
name: "app/files-to-lint", | ||
files: ["**/*.{ts,mts,tsx,vue}"], | ||
}, | ||
|
||
{ | ||
name: "app/files-to-ignore", | ||
ignores: ["**/dist/**", "**/dist-ssr/**", "**/coverage/**"], | ||
}, | ||
|
||
...pluginVue.configs["flat/essential"], | ||
...vueTsEslintConfig(), | ||
prettierConfig, | ||
|
||
{ | ||
rules: { | ||
"no-var": "warn", | ||
"prefer-const": "warn", | ||
// Note: you must disable the base rule as it can report incorrect errors | ||
"no-unused-expressions": "off", | ||
"@typescript-eslint/no-unused-expressions": "warn", | ||
"@typescript-eslint/no-explicit-any": "warn", | ||
"@typescript-eslint/ban-ts-comment": "warn", | ||
"vue/block-lang": "warn", | ||
"vue/multi-word-component-names": "off", | ||
"vue/no-mutating-props": [ | ||
"error", | ||
{ | ||
shallowOnly: true, | ||
}, | ||
], | ||
}, | ||
}, | ||
]; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.