@atomicsmash/coding-standards 12.0.1 → 12.0.2-beta.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 +10 -0
- package/MIGRATING.md +15 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atomicsmash/coding-standards
|
|
2
2
|
|
|
3
|
+
## 12.0.2-beta.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#258](https://github.com/AtomicSmash/packages/pull/258) [`0596250`](https://github.com/AtomicSmash/packages/commit/05962505f7e665bb61d7c603fa5ad2fc6f937280) Thanks [@mikeybinns](https://github.com/mikeybinns)! - Update dependencies
|
|
8
|
+
|
|
9
|
+
- Updated dependencies []:
|
|
10
|
+
- @atomicsmash/eslint-config@12.0.2-beta.0
|
|
11
|
+
- @atomicsmash/browserslist-config@12.0.2-beta.0
|
|
12
|
+
|
|
3
13
|
## 12.0.1
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/MIGRATING.md
CHANGED
|
@@ -25,3 +25,18 @@ becomes:
|
|
|
25
25
|
```
|
|
26
26
|
<rule ref="./node_modules/@atomicsmash/coding-standards/phpcs/phpcs.xml"/>
|
|
27
27
|
```
|
|
28
|
+
|
|
29
|
+
## v10 --> v11
|
|
30
|
+
|
|
31
|
+
No breaking changes (this shouldn't have been a major release).
|
|
32
|
+
|
|
33
|
+
## v11 --> v12
|
|
34
|
+
|
|
35
|
+
Remove usage of vitest typescript config
|
|
36
|
+
|
|
37
|
+
- This config was only adding vitest global types, however, in practice, this caused more errors in some cases. It’s better to import functions when needed instead of using globals, so this config is removed. If you are using this, simply remove the config from your tsconfig and switch to using imports for your test functions.
|
|
38
|
+
|
|
39
|
+
Add comments to your eslint disables
|
|
40
|
+
|
|
41
|
+
- We added linting for ESLint comments. It helps avoid things like unnecessary disables, and requires every disable to have a message explaining why you’ve disabled the rule.
|
|
42
|
+
- Marked as breaking as this will likely add new errors to your code, especially if you have used eslint-disables.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atomicsmash/coding-standards",
|
|
3
|
-
"version": "12.0.
|
|
3
|
+
"version": "12.0.2-beta.0",
|
|
4
4
|
"description": "A collection of coding standards configurations.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
"@cspell/cspell-types": "^8.15.4"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"@atomicsmash/browserslist-config": "^12.0.
|
|
12
|
-
"@atomicsmash/eslint-config": "^12.0.
|
|
11
|
+
"@atomicsmash/browserslist-config": "^12.0.2-beta.0",
|
|
12
|
+
"@atomicsmash/eslint-config": "^12.0.2-beta.0",
|
|
13
13
|
"@commitlint/cli": "^19.5.0",
|
|
14
14
|
"@commitlint/config-conventional": "^19.5.0",
|
|
15
15
|
"@wordpress/stylelint-config": "^23.2.0",
|
|
16
16
|
"prettier": "^3.3.3",
|
|
17
17
|
"stylelint": "^16.10.0",
|
|
18
18
|
"stylelint-config-standard": "^36.0.1",
|
|
19
|
-
"stylelint-config-standard-scss": "^
|
|
19
|
+
"stylelint-config-standard-scss": "^14.0.0",
|
|
20
20
|
"stylelint-order": "^6.0.4"
|
|
21
21
|
},
|
|
22
22
|
"keywords": [
|