@atomicsmash/coding-standards 7.0.0 → 8.0.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 CHANGED
@@ -1,5 +1,33 @@
1
1
  # @atomicsmash/coding-standards
2
2
 
3
+ ## 8.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#113](https://github.com/AtomicSmash/packages/pull/113) [`bc24fbd`](https://github.com/AtomicSmash/packages/commit/bc24fbdc8ae6710785028c2fcfb907714780f61a) Thanks [@mikeybinns](https://github.com/mikeybinns)! - Set related packages as peer dependencies so they're always in the root
8
+
9
+ - [#113](https://github.com/AtomicSmash/packages/pull/113) [`f741f26`](https://github.com/AtomicSmash/packages/commit/f741f26ae0ffe5766a9358517fc3e53a3c6bfeda) Thanks [@mikeybinns](https://github.com/mikeybinns)! - Set other deps to peer deps too
10
+
11
+ ### Patch Changes
12
+
13
+ - [#113](https://github.com/AtomicSmash/packages/pull/113) [`efb94ae`](https://github.com/AtomicSmash/packages/commit/efb94aee9ae78e37420177c8efcaa84c7ab49796) Thanks [@mikeybinns](https://github.com/mikeybinns)! - Beta update to PHPCS
14
+
15
+ - Updated dependencies [[`fcd111f`](https://github.com/AtomicSmash/packages/commit/fcd111f809f84ebc55104bd70c4c4f949e99c697)]:
16
+ - @atomicsmash/browserslist-config@8.0.0
17
+ - @atomicsmash/eslint-config@8.0.0
18
+
19
+ ## 7.1.0
20
+
21
+ ### Minor Changes
22
+
23
+ - [#107](https://github.com/AtomicSmash/packages/pull/107) [`9fdc037`](https://github.com/AtomicSmash/packages/commit/9fdc0377492985efabac76c6b06d67fee66026a6) Thanks [@mikeybinns](https://github.com/mikeybinns)! - Add PHPCS config as beta config
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies []:
28
+ - @atomicsmash/eslint-config@7.1.0
29
+ - @atomicsmash/browserslist-config@7.1.0
30
+
3
31
  ## 7.0.0
4
32
 
5
33
  ### Patch Changes
package/beta/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # Beta files
2
+
3
+ Config files added to this folder are not stable. They are added here to avoid keeping a separate branch up to date with other configs, and also enable multiple beta configs in a single project.
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0"?>
2
+ <ruleset name="Atomic Smash's Rules">
3
+ <exclude-pattern>*/node_modules/*</exclude-pattern>
4
+ <exclude-pattern>*/vendor/*</exclude-pattern>
5
+ <arg name="extensions" value="php" />
6
+ <arg value="sp"/>
7
+ <arg name="parallel" value="20"/>
8
+ <arg name="cache"/>
9
+ <arg name="report" value="summary"/>
10
+ <ini name="memory_limit" value="256M"/>
11
+ <rule ref="WordPress">
12
+ <exclude name="Generic.Formatting.MultipleStatementAlignment"/>
13
+ <exclude name="WordPress.Arrays.MultipleStatementAlignment"/>
14
+ <exclude name="Squiz.Commenting.FileComment.MissingPackageTag"/>
15
+ </rule>
16
+ <rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/>
17
+ <rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
18
+ <rule ref="WordPress.Files.FileName">
19
+ <properties>
20
+ <property name="is_theme" value="true"/>
21
+ </properties>
22
+ </rule>
23
+ <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
24
+ <properties>
25
+ <property name="ignoreBlankLines" value="true"/>
26
+ </properties>
27
+ </rule>
28
+ <rule ref="Generic.Files.LineEndings">
29
+ <properties>
30
+ <property name="eolChar" value="\n"/>
31
+ </properties>
32
+ </rule>
33
+ <config name="testVersion" value="8.2-"/>
34
+ <rule ref="PHPCompatibilityWP">
35
+ <include-pattern>*\.php$</include-pattern>
36
+ </rule>
37
+ <rule ref="VariableAnalysis"/>
38
+ </ruleset>
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@atomicsmash/coding-standards",
3
- "version": "7.0.0",
3
+ "version": "8.0.0",
4
4
  "description": "A collection of coding standards configurations.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
- "dependencies": {
8
- "@atomicsmash/browserslist-config": "^7.0.0",
9
- "@atomicsmash/eslint-config": "^7.0.0",
7
+ "devDependencies": {
8
+ "@cspell/cspell-types": "^6.31.1"
9
+ },
10
+ "peerDependencies": {
11
+ "@atomicsmash/browserslist-config": "8.0.0",
12
+ "@atomicsmash/eslint-config": "8.0.0",
10
13
  "@commitlint/cli": "^17.6.6",
11
14
  "@commitlint/config-conventional": "^17.6.6",
12
15
  "prettier": "^2.8.8"
13
16
  },
14
- "devDependencies": {
15
- "@cspell/cspell-types": "^6.31.1"
16
- },
17
17
  "keywords": [
18
18
  "atomic",
19
19
  "smash",