@automattic/eslint-plugin-wpvip 0.4.5 → 0.4.7
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/README.md +2 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -42,9 +42,7 @@ TypeScript rules are automatically added whenever your project has installed the
|
|
|
42
42
|
|
|
43
43
|
## Prettier
|
|
44
44
|
|
|
45
|
-
Prettier integration with ESLint is automatically enabled
|
|
46
|
-
|
|
47
|
-
By default, this plugin provides the [WordPress prettier config](https://github.com/WordPress/gutenberg/blob/605aeb0f4f7d2225120e498f95ae27b9f56d77a3/packages/prettier-config/lib/index.js). You can define your own [`.prettierrc` configuration file](https://prettier.io/docs/en/configuration.html), which will be merged with the default. The following `.prettierrc` will use spaces for indentation instead of tabs:
|
|
45
|
+
Prettier integration with ESLint is automatically enabled. Further, by default, this plugin provides the [WordPress prettier config](https://github.com/WordPress/gutenberg/blob/605aeb0f4f7d2225120e498f95ae27b9f56d77a3/packages/prettier-config/lib/index.js). You can define your own [`.prettierrc` configuration file](https://prettier.io/docs/en/configuration.html), which will be merged with the default. The following `.prettierrc` will use spaces for indentation instead of tabs:
|
|
48
46
|
|
|
49
47
|
```json
|
|
50
48
|
{
|
|
@@ -52,7 +50,7 @@ By default, this plugin provides the [WordPress prettier config](https://github.
|
|
|
52
50
|
}
|
|
53
51
|
```
|
|
54
52
|
|
|
55
|
-
If you
|
|
53
|
+
If you wish to disable the automatic Prettier integration, add the `prettier-off` config to your `.eslintrc.js`:
|
|
56
54
|
|
|
57
55
|
```json
|
|
58
56
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/eslint-plugin-wpvip",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"description": "ESLint plugin for internal WordPress VIP projects",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"homepage": "https://github.com/Automattic/eslint-config-wpvip#readme",
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@rushstack/eslint-patch": "1.2.0",
|
|
29
|
-
"@wordpress/eslint-plugin": "
|
|
29
|
+
"@wordpress/eslint-plugin": "14.1.0",
|
|
30
30
|
"eslint-plugin-jest": "27.2.1",
|
|
31
31
|
"eslint-plugin-json": "3.1.0",
|
|
32
32
|
"eslint-plugin-security": "1.7.1"
|