Skip to content

Commit

Permalink
Upgrade eslint-plugin-import-x 4.2.1 (ignore some import-x/no-unresol…
Browse files Browse the repository at this point in the history
…ved)
  • Loading branch information
qmonmert committed Sep 5, 2024
1 parent 0d6404c commit 9ddab9d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions cli/environment-builder.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import path, { dirname, resolve } from 'path';
import { fileURLToPath, pathToFileURL } from 'url';
import chalk from 'chalk';
import { cloneDeep, mergeWith } from 'lodash-es';
/*eslint import-x/no-unresolved: [1, { ignore: ['yeoman-environment'] }]*/
import Environment from 'yeoman-environment';
import { QueuedAdapter } from '@yeoman/adapter';

Expand Down
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default ts.config(
},
},
{
files: ['generators/**/*', 'bin/**/*', 'cli/**/*', '**/*.spec.ts', 'testing/**/*', 'test/**/*'],
files: ['bin/**/*', '**/*.spec.ts', 'testing/**/*', 'test/**/*'],
rules: {
'import-x/no-unresolved': 'off',
},
Expand Down
1 change: 1 addition & 0 deletions generators/base-core/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import { simpleGit } from 'simple-git';
import type { CopyOptions } from 'mem-fs-editor';
import type { Data as TemplateData, Options as TemplateOptions } from 'ejs';
import semver, { lt as semverLessThan } from 'semver';
/*eslint import-x/no-unresolved: [1, { ignore: ['yeoman-generator'] }]*/
import YeomanGenerator, { type ComposeOptions, type Storage } from 'yeoman-generator';
import type Environment from 'yeoman-environment';
import latestVersion from 'latest-version';
Expand Down

0 comments on commit 9ddab9d

Please sign in to comment.