salesforcecli / plugin-template-sf-external

0 stars 0 forks source link

Unexpected settings for command tests and .cjs configuration files #101

Open jdkgabri opened 9 months ago

jdkgabri commented 9 months ago

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
image

Besides, in the command.ts files, the Messages.importMessagesDirectoryFromMetaUrlis raising ESLint complains:

image

git2gus[bot] commented 9 months ago

Git2Gus App is installed but the .git2gus/config.json doesn't exist.