-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed as not planned
Closed as not planned
Copy link
Labels
bugSomething isn't workingSomething isn't workinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.vueissues relating to vue supportissues relating to vue supportworking as intendedIssues that are closed as they are working as intendedIssues that are closed as they are working as intended
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Relevant Package
typescript-eslint
Playground Link
No response
Repro Code
import { ViteSSG as viteSSG } from "vite-ssg";
import App from "./App.vue";
import { routes } from "./router";
export const createApp = viteSSG(
App,
{ routes },
);
ESLint Config
import {duplojsEslintBase} from "@duplojs/eslint";
import tseslint from 'typescript-eslint';
import vueParser from 'vue-eslint-parser';
export default [
{
...duplojsEslintBase,
files: ["**/*.ts"],
},
{
...duplojsEslintBase,
languageOptions: {
...duplojsEslintBase.languageOptions,
parser: vueParser,
parserOptions: {
...duplojsEslintBase.languageOptions.parserOptions,
parser: tseslint.parser,
projectService: true,
sourceType: "module",
extraFileExtensions: [".vue"]
},
},
files: ["**/*.vue",],
}
];
tsconfig
Expected Result
no error
Actual Result
un safe argument
Additional Info
No response
Versions
"devDependencies": {
"eslint": "^9.17.0",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.1",
"vue-eslint-parser": "^9.4.3",
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinglocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.Please open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.vueissues relating to vue supportissues relating to vue supportworking as intendedIssues that are closed as they are working as intendedIssues that are closed as they are working as intended