-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
30 changed files
with
2,214 additions
and
2,377 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
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 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,50 @@ | ||
import pluginVue from "eslint-plugin-vue"; | ||
import vueTsEslintConfig from "@vue/eslint-config-typescript"; | ||
import pluginVitest from "@vitest/eslint-plugin"; | ||
import skipFormatting from "@vue/eslint-config-prettier/skip-formatting"; | ||
|
||
export default [ | ||
{ | ||
name: "app/files-to-lint", | ||
files: ["src/**/*.{ts,mts,tsx,vue}"], | ||
}, | ||
|
||
{ | ||
name: "app/files-to-ignore", | ||
ignores: [ | ||
"**/dist/**", | ||
"**/dist-ssr/**", | ||
"**/coverage/**", | ||
"**/storybook-static/**", | ||
], | ||
}, | ||
|
||
...pluginVue.configs["flat/essential"], | ||
...vueTsEslintConfig(), | ||
|
||
{ | ||
...pluginVitest.configs.recommended, | ||
files: ["src/**/*.test.ts"], | ||
}, | ||
|
||
skipFormatting, | ||
|
||
{ | ||
files: ["**/*.{ts,mts,tsx,vue}"], | ||
rules: { | ||
"@typescript-eslint/no-unused-expressions": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"vue/multi-word-component-names": "off", | ||
"vitest/valid-expect": "off", | ||
|
||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ | ||
argsIgnorePattern: "^_", | ||
varsIgnorePattern: "^_", | ||
caughtErrorsIgnorePattern: "^_", | ||
}, | ||
], | ||
}, | ||
}, | ||
]; |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
|
Oops, something went wrong.