mirror of
https://github.com/rommapp/romm.git
synced 2026-02-19 07:50:57 +01:00
46 lines
1.0 KiB
JavaScript
46 lines
1.0 KiB
JavaScript
import eslint from "@eslint/js";
|
|
import tseslint from "typescript-eslint";
|
|
import globals from "globals";
|
|
import vue from "eslint-plugin-vue";
|
|
|
|
export default tseslint.config(
|
|
eslint.configs.recommended,
|
|
...tseslint.configs.recommended,
|
|
...vue.configs["flat/recommended"],
|
|
{
|
|
ignores: [
|
|
"logs",
|
|
"*.log",
|
|
"npm-debug.log*",
|
|
"yarn-debug.log*",
|
|
"yarn-error.log*",
|
|
"pnpm-debug.log*",
|
|
"lerna-debug.log*",
|
|
"node_modules",
|
|
".DS_Store",
|
|
"dist",
|
|
"dist-ssr",
|
|
"coverage",
|
|
"*.local",
|
|
"__generated__",
|
|
"*.config.js",
|
|
],
|
|
languageOptions: {
|
|
parserOptions: {
|
|
parser: "@typescript-eslint/parser",
|
|
projectService: true,
|
|
ecmaVersion: 2022,
|
|
extraFileExtensions: [".vue"],
|
|
},
|
|
globals: {
|
|
...globals.browser,
|
|
},
|
|
},
|
|
rules: {
|
|
"vue/multi-word-component-names": "off",
|
|
// Vuetify supports modifier syntax of { [x: `item.${string}`]: ... }
|
|
"vue/valid-v-slot": "off",
|
|
},
|
|
},
|
|
);
|