mirror of
https://github.com/michaelrausch/michaelrausch-24.git
synced 2024-12-26 12:29:57 +00:00
33 lines
689 B
JavaScript
33 lines
689 B
JavaScript
|
module.exports = {
|
||
|
env: {
|
||
|
node: true,
|
||
|
browser: true,
|
||
|
es2024: true,
|
||
|
},
|
||
|
extends: [
|
||
|
"eslint:recommended",
|
||
|
"plugin:astro/recommended",
|
||
|
"plugin:@typescript-eslint/recommended",
|
||
|
],
|
||
|
parserOptions: {
|
||
|
ecmaVersion: "latest",
|
||
|
sourceType: "module",
|
||
|
},
|
||
|
rules: {
|
||
|
semi: ["error", "always"],
|
||
|
quotes: ["error", "double", { "allowTemplateLiterals": true }],
|
||
|
"@typescript-eslint/triple-slash-reference": "off",
|
||
|
},
|
||
|
overrides: [
|
||
|
{
|
||
|
files: ["*.astro"],
|
||
|
parser: "astro-eslint-parser",
|
||
|
parserOptions: {
|
||
|
parser: "@typescript-eslint/parser",
|
||
|
extraFileExtensions: [".astro"],
|
||
|
},
|
||
|
rules: {},
|
||
|
},
|
||
|
],
|
||
|
};
|