mirror of
https://github.com/michaelrausch/michaelrausch-24.git
synced 2024-12-04 02:53:08 +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: {},
|
|
},
|
|
],
|
|
};
|