wp-advads 1.0.3 → 1.0.5

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "wp-advads",
4
- "version": "1.0.3",
4
+ "version": "1.0.5",
5
5
  "description": "Create a Advanced Ads wordPress plugin eco system.",
6
6
  "author": {
7
7
  "name": "Shakeeb Ahmed",
@@ -149,6 +149,7 @@ class CreatePlugin {
149
149
  'browser-sync',
150
150
  'browser-sync-webpack-plugin',
151
151
  'chalk',
152
+ 'eslint-plugin-prettier',
152
153
  'husky',
153
154
  'laravel-mix',
154
155
  'lint-staged',
@@ -57,9 +57,13 @@
57
57
  <type>error</type>
58
58
  </rule>
59
59
 
60
- <rule ref="Generic.Arrays.DisallowLongArraySyntax">
61
- <type>error</type>
62
- </rule>
60
+ <!-- Disable short arrays: -->
61
+ <rule ref="WordPress-Extra">
62
+ <exclude name="Generic.Arrays.DisallowShortArraySyntax"/>
63
+ </rule>
64
+
65
+ <!-- Enforce short arrays: -->
66
+ <rule ref="Generic.Arrays.DisallowLongArraySyntax"/>
63
67
 
64
68
  <!-- Method names MUST NOT be prefixed with a single underscore to indicate protected or private visibility. That is, an underscore prefix explicitly has no meaning. -->
65
69
  <rule ref="PSR2.Methods.MethodDeclaration.Underscore">