You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,11 +43,11 @@ module.exports = {
43
43
44
44
## Options
45
45
46
-
You can pass [eslint options](https://eslint.org/docs/developer-guide/nodejs-api#%E2%97%86-new-eslint-options).
46
+
You can pass [eslint options](https://eslint.org/docs/developer-guide/nodejs-api#-new-eslintoptions).
47
47
48
48
Note that the config option you provide will be passed to the `ESLint` class.
49
49
This is a different set of options than what you'd specify in `package.json` or `.eslintrc`.
50
-
See the [eslint docs](https://eslint.org/docs/developer-guide/nodejs-api#%E2%97%86-new-eslint-options) for more details.
50
+
See the [eslint docs](https://eslint.org/docs/developer-guide/nodejs-api#-new-eslintoptions) for more details.
51
51
52
52
**Warning**: In eslint-webpack-plugin version 1 the options were passed to the now deprecated [CLIEngine](https://eslint.org/docs/developer-guide/nodejs-api#cliengine).
53
53
@@ -63,7 +63,7 @@ A string indicating the root of your files.
63
63
- Type: `String`
64
64
- Default: `eslint`
65
65
66
-
Path to `eslint` instance that will be used for linting. If the `eslintPath` is a folder like a official eslint, or specify a `formatter` option. now you dont have to install `eslint`.
66
+
Path to `eslint` instance that will be used for linting. If the `eslintPath` is a folder like a official eslint, or specify a `formatter` option. now you don't have to install `eslint`.
67
67
68
68
### `extensions`
69
69
@@ -85,15 +85,15 @@ Specify the files and/or directories to exclude. Must be relative to `options.co
85
85
- Default: `null`
86
86
87
87
Specify directories, files, or globs. Must be relative to `options.context`.
88
-
Directories are traveresed recursively looking for files matching `options.extensions`.
88
+
Directories are traversed recursively looking for files matching `options.extensions`.
89
89
File and glob patterns ignore `options.extensions`.
90
90
91
91
### `fix`
92
92
93
93
- Type: `Boolean`
94
94
- Default: `false`
95
95
96
-
Will enable [ESLint autofix feature](https://eslint.org/docs/developer-guide/nodejs-api#%E2%97%86-eslint-outputfixes-results).
96
+
Will enable [ESLint autofix feature](https://eslint.org/docs/developer-guide/nodejs-api#-eslintoutputfixesresults).
97
97
98
98
**Be careful: this option will change source files.**
0 commit comments