@thedanbob/esbuild-plugin-eslint 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  # `esbuild-plugin-eslint`
2
2
 
3
- > Lint your [`esbuild`](https://github.com/evanw/esbuild) bundles with [`eslint`](https://github.com/eslint/eslint). 🧐
3
+ > Lint your [`esbuild`](https://github.com/evanw/esbuild) bundles with [`eslint`](https://github.com/eslint/eslint).
4
4
 
5
5
  Nicely integrates the most recent version of [`eslint`](https://github.com/eslint/eslint) into an [`esbuild`](https://github.com/evanw/esbuild) plugin.
6
6
 
@@ -28,7 +28,7 @@ node esbuild.config.js
28
28
 
29
29
  ## Config
30
30
 
31
- This plugin respects your [ESLint configuration](https://eslint.org/docs/user-guide/configuring) as per default. It also takes a configuration object intended for the [ESLint constructor](https://eslint.org/docs/latest/developer-guide/nodejs-api#parameters) with the addition of a `filter`, `throwOnError`, and `throwOnWarning` property. The most important options are:
31
+ This plugin respects your [ESLint configuration](https://eslint.org/docs/user-guide/configuring) by default. It takes the same options as the [ESLint constructor](https://eslint.org/docs/latest/developer-guide/nodejs-api#parameters) with the addition of `filter`, `throwOnError`, and `throwOnWarning`. The most important options are:
32
32
 
33
33
  ### `filter`
34
34
 
@@ -43,7 +43,7 @@ Tells esbuild what files to look at. Only files matching this pattern will be ha
43
43
 
44
44
  Type: `boolean`<br>
45
45
  Default: `false`<br>
46
- Used by: [The plugin itself](https://github.com/thedanbob/esbuild-plugin-eslint)<br>
46
+ Used by: The plugin itself
47
47
 
48
48
  Instructs the plugin to forward errors found by ESLint to esbuild and throw an error.
49
49
 
@@ -51,7 +51,7 @@ Instructs the plugin to forward errors found by ESLint to esbuild and throw an e
51
51
 
52
52
  Type: `boolean`<br>
53
53
  Default: `false`<br>
54
- Used by: [The plugin itself](https://github.com/thedanbob/esbuild-plugin-eslint)<br>
54
+ Used by: The plugin itself
55
55
 
56
56
  Instructs the plugin to forward warnings found by ESLint to esbuild and throw an error.
57
57
 
@@ -62,16 +62,7 @@ Default: `false`<br>
62
62
  Used by: [`eslint`](https://github.com/eslint/eslint)<br>
63
63
  Reference: [eslint.org (`options.fix`)](https://eslint.org/docs/latest/developer-guide/nodejs-api#parameters)<br>
64
64
 
65
- Controls whether to enable or disable the autofix feature of ESLint.
66
-
67
- ### `useEslintrc`
68
-
69
- Type: `boolean`<br>
70
- Default: `true`<br>
71
- Used by: [`eslint`](https://github.com/eslint/eslint)<br>
72
- Reference: [eslint.org (`options.useEslintrc`)](https://eslint.org/docs/latest/developer-guide/nodejs-api#parameters)<br>
73
-
74
- If set to `false`, ESLint will not respect any configuration files it finds.
65
+ Enables the autofix feature of ESLint.
75
66
 
76
67
  ## Attribution
77
68
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@thedanbob/esbuild-plugin-eslint",
3
- "version": "0.4.0",
4
- "description": "Lint your esbuild bundles with ESLint. 🧐",
3
+ "version": "0.4.1",
4
+ "description": "Lint your esbuild bundles with ESLint.",
5
5
  "keywords": [
6
6
  "esbuild",
7
7
  "plugin",