eslint major version bump
This commit is contained in:
parent
258fb7cd0e
commit
3ddf8f6986
22 changed files with 1488 additions and 1048 deletions
32
apps/www/eslint.config.js
Normal file
32
apps/www/eslint.config.js
Normal file
|
@ -0,0 +1,32 @@
|
|||
import pompydevEslintConfig from "@pompydev/eslint-config"
|
||||
import { globalIgnores } from "eslint/config"
|
||||
import svelte from "eslint-plugin-svelte"
|
||||
import globals from "globals"
|
||||
import tseslint from "typescript-eslint"
|
||||
|
||||
import svelteConfig from "./svelte.config.js"
|
||||
|
||||
export default [
|
||||
globalIgnores(["**/.svelte-kit/", "vite.config.ts.*"]),
|
||||
...pompydevEslintConfig,
|
||||
...svelte.configs.recommended,
|
||||
{
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.browser,
|
||||
...globals.node,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ["**/*.svelte", "**/*.svelte.js", "**/*.svelte.ts"],
|
||||
languageOptions: {
|
||||
parserOptions: {
|
||||
projectService: true,
|
||||
extraFileExtensions: [".svelte"],
|
||||
parser: tseslint.parser,
|
||||
svelteConfig,
|
||||
},
|
||||
},
|
||||
},
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue