Open tjx666 opened 2 weeks ago
Failed to build/load TSSLint config. (Error: Cannot find module '../../eslint/lib/languages/js/source-code/source-code.js' Require stack: - /Users/yutengjing/code/artiffuse/node_modules/.pnpm/@tsslint+eslint@1.1.1_@typescript-eslint+typescript-estree@8.12.2_typescript@5.7.1-rc__eslint@8.57.1/node_modules/@tsslint/eslint/index.js) Error: Cannot find module '../../eslint/lib/languages/js/source-code/source-code.js' Require stack: - /Users/yutengjing/code/artiffuse/node_modules/.pnpm/@tsslint+eslint@1.1.1_@typescript-eslint+typescript-estree@8.12.2_typescript@5.7.1-rc__eslint@8.57.1/node_modules/@tsslint/eslint/index.jstsslint
version:
"@tsslint/config": "1.1.1", "@tsslint/eslint": "1.1.1", "eslint": "^8.57.1",
Is this only happen in ESLint v8 but not v9?
eslint v9.14.0 works, but my project still use eslint v8
tsslint.config.ts
```ts import { createRequire } from 'module'; import path from 'path'; import type { Plugin } from '@tsslint/config'; import { defineConfig } from '@tsslint/config'; import { convertRule } from '@tsslint/eslint'; type ESLintRules = Recordversion: