-
-
Notifications
You must be signed in to change notification settings - Fork 723
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update development tools * version up astro * upgrade react, astro, typescript, glob, etc. * upgrade eslint 9.x * update prettier * fix glob type * fix eslint config
- Loading branch information
1 parent
ef2c902
commit ad5e9f6
Showing
16 changed files
with
3,547 additions
and
8,266 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,51 @@ | ||
const js = require("@eslint/js"); | ||
const typescriptEslintParser = require("@typescript-eslint/parser"); | ||
const tseslint = require("typescript-eslint"); | ||
const ts = require("@typescript-eslint/eslint-plugin"); | ||
const globals = require("globals"); | ||
// const reactRecommended = require('eslint-plugin-react/configs/recommended'); | ||
|
||
module.exports = [ | ||
js.configs.recommended, | ||
...tseslint.configs.recommended, | ||
// reactRecommended, // eslint-plugin-react is not supported eslint 9.x | ||
{ | ||
plugins: { | ||
"@typescript-eslint": ts, | ||
}, | ||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
...globals.node, | ||
...globals.jest, | ||
}, | ||
parser: typescriptEslintParser, | ||
parserOptions: { | ||
ecmaVersion: "latest", | ||
sourceType: "module", | ||
}, | ||
}, | ||
rules: { | ||
"@typescript-eslint/no-var-requires": 0, | ||
"react/prop-types": 0, | ||
}, | ||
files: ["**/*.{js,mjs,cjs,ts,tsx}"], | ||
}, | ||
{ | ||
ignores: [ | ||
"node_modules", | ||
"**/node_modules", | ||
".yarn/", | ||
"**/.git/", | ||
"**/build/", | ||
"**/docs/", | ||
"**/dist/", | ||
"packages/react-icons/lib/**/*", | ||
"packages/react-icons/build/**/*", | ||
"packages/react-icons/icons/**/*", | ||
"!packages/react-icons/icons/index.js", | ||
"packages/_react-icons_all/**/*", | ||
"packages/_react-icons_all-files/**/*", | ||
], | ||
}, | ||
]; |
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
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
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.