mirror of
https://github.com/sbondCo/Watcharr.git
synced 2026-06-23 04:10:07 +00:00
28 lines
537 B
JavaScript
28 lines
537 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parser: "@typescript-eslint/parser",
|
|
extends: ["plugin:svelte/recommended"],
|
|
plugins: ["@typescript-eslint"],
|
|
ignorePatterns: ["*.cjs", "*.config.js"],
|
|
overrides: [
|
|
{
|
|
files: ["*.svelte"],
|
|
parser: "svelte-eslint-parser",
|
|
parserOptions: {
|
|
parser: "@typescript-eslint/parser",
|
|
},
|
|
},
|
|
],
|
|
parserOptions: {
|
|
project: "./tsconfig.json",
|
|
extraFileExtensions: [".svelte"],
|
|
sourceType: "module",
|
|
ecmaVersion: 2020,
|
|
},
|
|
env: {
|
|
browser: true,
|
|
es2017: true,
|
|
node: false,
|
|
},
|
|
};
|