Skip to content

Commit

Permalink
Add constructor option flags
Browse files Browse the repository at this point in the history
  • Loading branch information
fasttime committed Jul 5, 2024
1 parent 60adec8 commit dec4b8a
Show file tree
Hide file tree
Showing 6 changed files with 299 additions and 280 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ See the linked content for details about each option.
* [`quiet`](#optionsquiet)
* [`warnIgnored`](#optionswarnignored)

**Other options**
* [`flags`][other options]

#### General Options

##### `options.configType`
Expand Down Expand Up @@ -431,5 +434,6 @@ The functions [`gulpESLintNew.result`](#gulpeslintnewresultaction) and [`gulpESL
[gulp-eslint]: https://github.com/adametry/gulp-eslint
[legacy linting options]: https://eslint.org/docs/v8.x/integrate/nodejs-api#linting
[linting options]: https://eslint.org/docs/latest/integrate/nodejs-api#linting
[other options]: https://eslint.org/docs/latest/integrate/nodejs-api#other-options
[npm badge]: https://img.shields.io/npm/v/gulp-eslint-new?logo=npm
[npm URL]: https://www.npmjs.com/package/gulp-eslint-new
1 change: 1 addition & 0 deletions lib/eslint.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Omit<
{
baseConfig?: Linter.Config | null | undefined;
fixTypes?: Rule.RuleMetaData['type'][] | null | undefined;
flags?: string[] | undefined;
overrideConfig?: Linter.Config | null | undefined;
overrideConfigFile?: string | null | undefined;
plugins?: Record<string, ESLint.Plugin> | null | undefined;
Expand Down
1 change: 1 addition & 0 deletions lib/gulp-eslint-new.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ declare namespace gulpESLintNew
| 'cwd'
| 'fix'
| 'fixTypes'
| 'flags'
| 'ignore'
| 'plugins'
> &
Expand Down
Loading

0 comments on commit dec4b8a

Please sign in to comment.