-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated dependencies and added project (#90)
- updated dependencies and added project - update eslint - add vite
- Loading branch information
1 parent
e1cc2ea
commit cbce350
Showing
24 changed files
with
6,118 additions
and
4,762 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,24 @@ | ||
const eslintPluginAstro = require("eslint-plugin-astro"); | ||
const eslintTypeScriptParser = require("@typescript-eslint/parser"); | ||
const eslintConfigPrettier = require("eslint-config-prettier"); | ||
const jsxA11y = require("eslint-plugin-jsx-a11y"); | ||
|
||
/** @type {import("eslint").Linter.Config} */ | ||
module.exports = [ | ||
...eslintPluginAstro.configs["flat/recommended"], | ||
eslintConfigPrettier, | ||
{ | ||
languageOptions: { | ||
parser: eslintTypeScriptParser, | ||
}, | ||
files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"], | ||
plugins: { | ||
"jsx-a11y": jsxA11y, | ||
}, | ||
rules: { | ||
"astro/no-conflict-set-directives": "error", | ||
"astro/no-unused-define-vars-in-style": "error", | ||
"jsx-a11y/control-has-associated-label": "error", | ||
}, | ||
}, | ||
]; |
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.