@atomicsmash/coding-standards 6.0.1 → 7.1.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 +20 -0
- package/beta/README.md +3 -0
- package/beta/phpcs/phpcs.xml +37 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atomicsmash/coding-standards
|
|
2
2
|
|
|
3
|
+
## 7.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#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
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies []:
|
|
12
|
+
- @atomicsmash/eslint-config@7.1.0
|
|
13
|
+
- @atomicsmash/browserslist-config@7.1.0
|
|
14
|
+
|
|
15
|
+
## 7.0.0
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies [[`58ec501`](https://github.com/AtomicSmash/packages/commit/58ec5015665def18ec96ee6c7f3fff2c396ff01d), [`ea116ea`](https://github.com/AtomicSmash/packages/commit/ea116eafe1ef929db0d4bd2f4981c8976e64d36f)]:
|
|
20
|
+
- @atomicsmash/eslint-config@7.0.0
|
|
21
|
+
- @atomicsmash/browserslist-config@7.0.0
|
|
22
|
+
|
|
3
23
|
## 6.0.1
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/beta/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
</rule>
|
|
15
|
+
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter"/>
|
|
16
|
+
<rule ref="Generic.WhiteSpace.DisallowSpaceIndent"/>
|
|
17
|
+
<rule ref="WordPress.Files.FileName">
|
|
18
|
+
<properties>
|
|
19
|
+
<property name="is_theme" value="true"/>
|
|
20
|
+
</properties>
|
|
21
|
+
</rule>
|
|
22
|
+
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
|
|
23
|
+
<properties>
|
|
24
|
+
<property name="ignoreBlankLines" value="true"/>
|
|
25
|
+
</properties>
|
|
26
|
+
</rule>
|
|
27
|
+
<rule ref="Generic.Files.LineEndings">
|
|
28
|
+
<properties>
|
|
29
|
+
<property name="eolChar" value="\n"/>
|
|
30
|
+
</properties>
|
|
31
|
+
</rule>
|
|
32
|
+
<config name="testVersion" value="8.2-"/>
|
|
33
|
+
<rule ref="PHPCompatibilityWP">
|
|
34
|
+
<include-pattern>*\.php$</include-pattern>
|
|
35
|
+
</rule>
|
|
36
|
+
<rule ref="VariableAnalysis"/>
|
|
37
|
+
</ruleset>
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atomicsmash/coding-standards",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "A collection of coding standards configurations.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@atomicsmash/browserslist-config": "^
|
|
9
|
-
"@atomicsmash/eslint-config": "^
|
|
8
|
+
"@atomicsmash/browserslist-config": "^7.1.0",
|
|
9
|
+
"@atomicsmash/eslint-config": "^7.1.0",
|
|
10
10
|
"@commitlint/cli": "^17.6.6",
|
|
11
11
|
"@commitlint/config-conventional": "^17.6.6",
|
|
12
12
|
"prettier": "^2.8.8"
|