Skip to content

Commit 0c3193e

Browse files
committed
docs(en): fetch all
1 parent dc89235 commit 0c3193e

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

src/content/plugins/eslint-webpack-plugin.mdx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ repo: https://github.com/webpack-contrib/eslint-webpack-plugin
2020

2121

2222

23+
> This is eslint-webpack-plugin 3.0 which works only with webpack 5. For the webpack 4, see the [2.x branch](https://github.com/webpack-contrib/eslint-webpack-plugin/tree/2.x).
24+
2325
This plugin uses [`eslint`](https://eslint.org/) to find and fix problems in your JavaScript code
2426

2527
## Getting Started
@@ -50,11 +52,11 @@ module.exports = {
5052

5153
## Options
5254

53-
You can pass [eslint options](https://eslint.org/docs/developer-guide/nodejs-api#%e2%97%86-new-eslint-options).
55+
You can pass [eslint options](https://eslint.org/docs/developer-guide/nodejs-api#-new-eslintoptions).
5456

5557
Note that the config option you provide will be passed to the `ESLint` class.
5658
This is a different set of options than what you'd specify in `package.json` or `.eslintrc`.
57-
See the [eslint docs](https://eslint.org/docs/developer-guide/nodejs-api#%e2%97%86-new-eslint-options) for more details.
59+
See the [eslint docs](https://eslint.org/docs/developer-guide/nodejs-api#-new-eslintoptions) for more details.
5860

5961
**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).
6062

@@ -70,7 +72,7 @@ A string indicating the root of your files.
7072
- Type: `String`
7173
- Default: `eslint`
7274

73-
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`.
75+
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`.
7476

7577
### `extensions`
7678

@@ -92,15 +94,15 @@ Specify the files and/or directories to exclude. Must be relative to `options.co
9294
- Default: `null`
9395

9496
Specify directories, files, or globs. Must be relative to `options.context`.
95-
Directories are traveresed recursively looking for files matching `options.extensions`.
97+
Directories are traversed recursively looking for files matching `options.extensions`.
9698
File and glob patterns ignore `options.extensions`.
9799

98100
### `fix`
99101

100102
- Type: `Boolean`
101103
- Default: `false`
102104

103-
Will enable [ESLint autofix feature](https://eslint.org/docs/developer-guide/nodejs-api#%e2%97%86-eslint-outputfixes-results).
105+
Will enable [ESLint autofix feature](https://eslint.org/docs/developer-guide/nodejs-api#-eslintoutputfixesresults).
104106

105107
**Be careful: this option will change source files.**
106108

src/content/plugins/stylelint-webpack-plugin.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module.exports = {
5252

5353
## Options
5454

55-
See [stylelint's options](http://stylelint.io/user-guide/node-api/#options) for the complete list of options available. These options are passed through to the `stylelint` directly.
55+
See [stylelint's options](https://stylelint.io/user-guide/usage/node-api#options) for the complete list of options available. These options are passed through to the `stylelint` directly.
5656

5757
### `configFile`
5858

@@ -61,7 +61,7 @@ See [stylelint's options](http://stylelint.io/user-guide/node-api/#options) for
6161

6262
Specify the config file location to be used by `stylelint`.
6363

64-
**Note:** By default this is [handled by `stylelint`](http://stylelint.io/user-guide/configuration/).
64+
**Note:** By default this is [handled by `stylelint`](https://stylelint.io/user-guide/configure).
6565

6666
### `context`
6767

@@ -96,14 +96,14 @@ Specify directories, files, or globs. Must be relative to `options.context`. Dir
9696
- Type: `Boolean`
9797
- Default: `false`
9898

99-
If `true`, `stylelint` will fix as many errors as possible. The fixes are made to the actual source files. All unfixed errors will be reported. See [Autofixing errors](https://stylelint.io/user-guide/cli#autofixing-errors) docs.
99+
If `true`, `stylelint` will fix as many errors as possible. The fixes are made to the actual source files. All unfixed errors will be reported. See [Autofixing errors](https://stylelint.io/user-guide/usage/options#fix) docs.
100100

101101
### `formatter`
102102

103103
- Type: `String|Function`
104104
- Default: `'string'`
105105

106-
Specify the formatter that you would like to use to format your results. See [formatter option](https://stylelint.io/user-guide/node-api#formatter).
106+
Specify the formatter that you would like to use to format your results. See [formatter option](https://stylelint.io/user-guide/usage/options#formatter).
107107

108108
### `lintDirtyModulesOnly`
109109

0 commit comments

Comments
 (0)