Skip to content

Commit f97d724

Browse files
committed
fix: fix typo
1 parent 8196a99 commit f97d724

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/renderEslint.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function configureEslint({ language, styleGuide, needsPrettier, needsCypress })
5454

5555
// generate the configuration file
5656
let configuration = '/* eslint-env node */\n'
57-
if (styleGuide !== 'default' || language !== 'typescript' || needsPrettier) {
57+
if (styleGuide !== 'default' || language !== 'javascript' || needsPrettier) {
5858
addEslintDependency('@rushstack/eslint-patch')
5959
configuration += `require("@rushstack/eslint-patch/modern-module-resolution");\n\n`
6060
}

0 commit comments

Comments
 (0)