-
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.
Update astro-paper and use revert vod.
- Loading branch information
1 parent
5add796
commit 102f6c9
Showing
49 changed files
with
3,341 additions
and
6,553 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import js from "@eslint/js"; | ||
import globals from "globals"; | ||
import tseslint from "typescript-eslint"; | ||
import astroParser from "astro-eslint-parser"; | ||
import eslintPluginAstro from "eslint-plugin-astro"; | ||
|
||
export default [ | ||
js.configs.recommended, | ||
...tseslint.configs.recommended, | ||
...eslintPluginAstro.configs.recommended, | ||
{ | ||
languageOptions: { | ||
globals: { | ||
...globals.browser, | ||
...globals.node, | ||
}, | ||
}, | ||
}, | ||
{ | ||
files: ["*.astro"], | ||
languageOptions: { | ||
parser: astroParser, | ||
parserOptions: { | ||
parser: "@typescript-eslint/parser", | ||
extraFileExtensions: [".astro"], | ||
}, | ||
}, | ||
}, | ||
{ | ||
files: ["tailwind.config.cjs", "**/*.d.ts"], | ||
rules: { | ||
"@typescript-eslint/no-require-imports": "off", | ||
"@typescript-eslint/triple-slash-reference": "off", | ||
}, | ||
}, | ||
{ | ||
rules: { | ||
"@typescript-eslint/no-unused-expressions": "off", | ||
}, | ||
}, | ||
{ | ||
ignores: ["dist/**", ".astro"], | ||
}, | ||
]; |
Oops, something went wrong.