19 lines
374 B
JavaScript
19 lines
374 B
JavaScript
import globals from "globals";
|
|
import pluginJs from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
|
|
|
|
export default [
|
|
{
|
|
files: ["**/*.{js,mjs,cjs,ts}"],
|
|
},
|
|
{
|
|
ignores: ["build/", ".svelte-kit/"],
|
|
},
|
|
{
|
|
languageOptions: { globals: {...globals.browser, ...globals.node} }
|
|
},
|
|
pluginJs.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
];
|