@alexlit/config-prettier 21.3.0 → 21.4.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.
Files changed (2) hide show
  1. package/index.js +7 -8
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -10,16 +10,15 @@ const DEFAULT_PLUGINS = {
10
10
  'xml': true,
11
11
  };
12
12
 
13
- const OPTIONAL_PLUGINS = { php: false, ruby: false, sql: false };
14
-
15
- const CODESTYLE_PLUGINS = { tailwindcss: false };
16
-
17
- const PLUGINS = {
18
- ...DEFAULT_PLUGINS,
19
- ...OPTIONAL_PLUGINS,
20
- ...CODESTYLE_PLUGINS,
13
+ const OPTIONAL_PLUGINS = {
14
+ php: false,
15
+ ruby: false,
16
+ sql: false,
17
+ tailwindcss: false,
21
18
  };
22
19
 
20
+ const PLUGINS = { ...DEFAULT_PLUGINS, ...OPTIONAL_PLUGINS };
21
+
23
22
  /**
24
23
  * Create plugins config list
25
24
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-prettier",
3
- "version": "21.3.0",
3
+ "version": "21.4.0",
4
4
  "private": false,
5
5
  "description": "prettier config",
6
6
  "keywords": [
@@ -29,7 +29,7 @@
29
29
  "plugins"
30
30
  ],
31
31
  "dependencies": {
32
- "@prettier/plugin-php": "^0.22.4",
32
+ "@prettier/plugin-php": "^0.23.0",
33
33
  "@prettier/plugin-pug": "^3.4.0",
34
34
  "@prettier/plugin-ruby": "^4.0.4",
35
35
  "@prettier/plugin-xml": "^3.4.2",