eslint-plugin-prettier 3.2.0 → 3.3.0
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.
- package/CHANGELOG.md +7 -0
- package/eslint-plugin-prettier.js +0 -9
- package/package.json +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v3.3.0 (2020-12-13)
|
|
4
|
+
|
|
5
|
+
* Minor: Perf improvement: Do not clear the config cache on each run ([#368](git@github.com:prettier/eslint-plugin-prettier/issues/368)) ([1b90ea7](git@github.com:prettier/eslint-plugin-prettier/commit/1b90ea752636959babb27ebca5d67093c346dab9))
|
|
6
|
+
* Add peerDependenciesMeta block ([#367](git@github.com:prettier/eslint-plugin-prettier/issues/367)) ([86608d5](git@github.com:prettier/eslint-plugin-prettier/commit/86608d5084692ab0d1f2f49a3df4909d04c39ae7))
|
|
7
|
+
* build(deps-dev): bump eslint from 7.14.0 to 7.15.0 ([885f484](git@github.com:prettier/eslint-plugin-prettier/commit/885f48405e0fc9f312acdd3e3487c824bd59c102))
|
|
8
|
+
* build(deps-dev): bump eslint from 7.3.1 to 7.14.0 ([cebc80b](git@github.com:prettier/eslint-plugin-prettier/commit/cebc80b39d3d09f957a73536e54f6d8dd4567080))
|
|
9
|
+
|
|
3
10
|
## v3.2.0 (2020-12-03)
|
|
4
11
|
|
|
5
12
|
* Skip CI for eslint 6 + node 8 ([#364](git@github.com:prettier/eslint-plugin-prettier/issues/364)) ([f8f08e4](git@github.com:prettier/eslint-plugin-prettier/commit/f8f08e483522d74bc4dd93d9813914aa7ba9314b))
|
|
@@ -154,15 +154,6 @@ module.exports = {
|
|
|
154
154
|
const filepath = context.getFilename();
|
|
155
155
|
const source = sourceCode.text;
|
|
156
156
|
|
|
157
|
-
// This allows long-running ESLint processes (e.g. vscode-eslint) to
|
|
158
|
-
// pick up changes to .prettierrc without restarting the editor. This
|
|
159
|
-
// will invalidate the prettier plugin cache on every file as well which
|
|
160
|
-
// will make ESLint very slow, so it would probably be a good idea to
|
|
161
|
-
// find a better way to do this.
|
|
162
|
-
if (usePrettierrc && prettier && prettier.clearConfigCache) {
|
|
163
|
-
prettier.clearConfigCache();
|
|
164
|
-
}
|
|
165
|
-
|
|
166
157
|
return {
|
|
167
158
|
Program() {
|
|
168
159
|
if (!prettier) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-prettier",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "Runs prettier as an eslint rule",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -46,6 +46,11 @@
|
|
|
46
46
|
"prettier": "^1.15.3",
|
|
47
47
|
"vue-eslint-parser": "^6.0.0"
|
|
48
48
|
},
|
|
49
|
+
"peerDependenciesMeta": {
|
|
50
|
+
"eslint-plugin-prettier": {
|
|
51
|
+
"optional": true
|
|
52
|
+
}
|
|
53
|
+
},
|
|
49
54
|
"engines": {
|
|
50
55
|
"node": ">=6.0.0"
|
|
51
56
|
},
|