ive installed sapphire/ts-config and extended it but that wasnt working because it seems currently unsupported by eslint 9.x flat config requirement
then i went to theeslint docs and copied their example config
// @ts-checkimport eslint from '@eslint/js';import tseslint from 'typescript-eslint';export default tseslint.config(eslint.configs.recommended, tseslint.configs.recommended);
// @ts-checkimport eslint from '@eslint/js';import tseslint from 'typescript-eslint';export default tseslint.config(eslint.configs.recommended, tseslint.configs.recommended);
and this isnt working properly either
Error: Invalid Options:- Unknown options: ignorePath, resolvePluginsRelativeTo, rulePaths, useEslintrc- 'resolvePluginsRelativeTo' has been removed.- 'ignorePath' has been removed.- 'rulePaths' has been removed. Please define your rules using plugins. at processOptions (/home/denyed/bots/nlbot/node_modules/eslint/lib/eslint/eslint-helpers.js:843:15) at new ESLint (/home/denyed/bots/nlbot/node_modules/eslint/lib/eslint/eslint.js:449:34) at getESLint (/home/denyed/bots/nlbot/node_modules/prettier-eslint/dist/utils.js:337:12) at getESLintConfig (/home/denyed/bots/nlbot/node_modules/prettier-eslint/dist/index.js:268:39) at analyze (/home/denyed/bots/nlbot/node_modules/prettier-eslint/dist/index.js:80:77) at format (/home/denyed/bots/nlbot/node_modules/prettier-eslint/dist/index.js:50:13) at file:///home/denyed/.vscode/extensions/rvest.vs-code-prettier-eslint-6.0.0/dist/worker.mjs:1:1516
Error: Invalid Options:- Unknown options: ignorePath, resolvePluginsRelativeTo, rulePaths, useEslintrc- 'resolvePluginsRelativeTo' has been removed.- 'ignorePath' has been removed.- 'rulePaths' has been removed. Please define your rules using plugins. at processOptions (/home/denyed/bots/nlbot/node_modules/eslint/lib/eslint/eslint-helpers.js:843:15) at new ESLint (/home/denyed/bots/nlbot/node_modules/eslint/lib/eslint/eslint.js:449:34) at getESLint (/home/denyed/bots/nlbot/node_modules/prettier-eslint/dist/utils.js:337:12) at getESLintConfig (/home/denyed/bots/nlbot/node_modules/prettier-eslint/dist/index.js:268:39) at analyze (/home/denyed/bots/nlbot/node_modules/prettier-eslint/dist/index.js:80:77) at format (/home/denyed/bots/nlbot/node_modules/prettier-eslint/dist/index.js:50:13) at file:///home/denyed/.vscode/extensions/rvest.vs-code-prettier-eslint-6.0.0/dist/worker.mjs:1:1516
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
S-IaF
Sapphire - Imagine a Framework
Sapphire is a next-gen object-oriented Discord.js bot framework.