diff --git a/packages/nimbus/index.js b/packages/nimbus/index.js index 2007b6e..99dc57f 100644 --- a/packages/nimbus/index.js +++ b/packages/nimbus/index.js @@ -77,6 +77,10 @@ module.exports = function cli(tool) { // Create a specialized tsconfig for ESLint tool.getPlugin('driver', 'eslint').onCreateConfigFile.listen(context => { + if (!usingTypeScript) { + return; + } + const configPath = path.join(process.cwd(), 'tsconfig.eslint.json'); const include = [`${typesFolder}/**/*`]; // Always allow global types let extendsFrom = './tsconfig.json'; diff --git a/packages/nimbus/templates/project/dotfiles/gitignore.ejs b/packages/nimbus/templates/project/dotfiles/gitignore.ejs index c48f7fd..6b4f9f2 100644 --- a/packages/nimbus/templates/project/dotfiles/gitignore.ejs +++ b/packages/nimbus/templates/project/dotfiles/gitignore.ejs @@ -11,12 +11,12 @@ logs/ # Cache .axe/ .bundle/ -.eslintcache/ .happo/ .idea/ .npm/ .vagrant/ .vscode/ +.eslintcache .yarnclean # Directories