@atomicsmash/coding-standards 13.0.0-beta.1 → 13.0.0-beta.2

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atomicsmash/coding-standards
2
2
 
3
+ ## 13.0.0-beta.2
4
+
5
+ ### Minor Changes
6
+
7
+ - [#278](https://github.com/AtomicSmash/packages/pull/278) [`0ac220e`](https://github.com/AtomicSmash/packages/commit/0ac220ec1cd1b735e790a11f68a9b5a50110588a) Thanks [@steve-brett](https://github.com/steve-brett)! - Add PHP type hinting rules
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies []:
12
+ - @atomicsmash/eslint-config@13.0.0-beta.2
13
+ - @atomicsmash/browserslist-config@13.0.0-beta.2
14
+
3
15
  ## 13.0.0-beta.1
4
16
 
5
17
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomicsmash/coding-standards",
3
- "version": "13.0.0-beta.1",
3
+ "version": "13.0.0-beta.2",
4
4
  "description": "A collection of coding standards configurations.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -8,8 +8,8 @@
8
8
  "@cspell/cspell-types": "^8.15.4"
9
9
  },
10
10
  "peerDependencies": {
11
- "@atomicsmash/browserslist-config": "^13.0.0-beta.1",
12
- "@atomicsmash/eslint-config": "^13.0.0-beta.1",
11
+ "@atomicsmash/browserslist-config": "^13.0.0-beta.2",
12
+ "@atomicsmash/eslint-config": "^13.0.0-beta.2",
13
13
  "@commitlint/cli": "^19.5.0",
14
14
  "@commitlint/config-conventional": "^19.5.0",
15
15
  "@wordpress/stylelint-config": "^23.2.0",
package/phpcs/phpcs.xml CHANGED
@@ -45,4 +45,12 @@
45
45
  <exclude-pattern>*/lib/*</exclude-pattern>
46
46
  <exclude-pattern>*/classes/*</exclude-pattern>
47
47
  </rule>
48
+ <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHint"/>
49
+ <rule ref="SlevomatCodingStandard.TypeHints.PropertyTypeHint"/>
50
+ <rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHint"/>
51
+ <rule ref="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue"/>
52
+ <rule ref="SlevomatCodingStandard.TypeHints.DisallowMixedTypeHint"/>
53
+ <rule ref="SlevomatCodingStandard.TypeHints.LongTypeHints"/>
54
+ <rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing"/>
55
+ <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing"/>
48
56
  </ruleset>