Maybe this issue should be opened in the plugin-dev repository instead. If so, kindly let me know and I will open it there instead.
After running the sf dev generate plugin for an external plugin, the files ".eslint.cjs", "test/.eslint.cjs" and "commitlint.config.cjs" are showing the following error:
Parsing error: ESLint was configured to run on `<tsconfigRootDir>/test\.eslintrc.cjs` using `parserOptions.project`:
- <tsconfigRootDir>/tsconfig.json
- <tsconfigRootDir>/test\tsconfig.json
However, none of those TSConfigs include this file. Either:
- Change ESLint's list of included files to not include this file
- Change one of those TSConfigs to include this file
- Create a new TSConfig that includes this file and include it in your parserOptions.project
See the typescript-eslint docs for more info: https://typescript-eslint.io/linting/troubleshooting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-fileeslint
Besides, in the command.ts files, the Messages.importMessagesDirectoryFromMetaUrlis raising ESLint complains:
Maybe this issue should be opened in the
plugin-dev
repository instead. If so, kindly let me know and I will open it there instead.After running the
sf dev generate plugin
for an external plugin, the files ".eslint.cjs", "test/.eslint.cjs" and "commitlint.config.cjs" are showing the following error:Besides, in the command.ts files, the
Messages.importMessagesDirectoryFromMetaUrl
is raising ESLint complains: