@atomicsmash/coding-standards 15.0.0-beta.1 → 15.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,37 @@
1
1
  # @atomicsmash/coding-standards
2
2
 
3
+ ## 15.0.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#355](https://github.com/AtomicSmash/packages/pull/355) [`4b84661`](https://github.com/AtomicSmash/packages/commit/4b84661f893e68a3b5b58f6beccb87672d9c8c7d) Thanks [@mikeybinns](https://github.com/mikeybinns)! - Prevent rules nested within media queries for consistency
8
+
9
+ ### Patch Changes
10
+
11
+ - [#378](https://github.com/AtomicSmash/packages/pull/378) [`46af602`](https://github.com/AtomicSmash/packages/commit/46af602c7a9b80fb5091fb943453cdd9f380d98f) Thanks [@mikeybinns](https://github.com/mikeybinns)! - Fix at rule order so non-block at rules are first in order
12
+
13
+ - [#386](https://github.com/AtomicSmash/packages/pull/386) [`31b78e8`](https://github.com/AtomicSmash/packages/commit/31b78e83c9e1fba334e0bb357324e51a2fea3adf) Thanks [@mikeybinns](https://github.com/mikeybinns)! - Don't lint root media queries for nested classes
14
+
15
+ - [#385](https://github.com/AtomicSmash/packages/pull/385) [`d767d3d`](https://github.com/AtomicSmash/packages/commit/d767d3d0db1dfa54f8b777a54486b8ff42a2e756) Thanks [@mikeybinns](https://github.com/mikeybinns)! - Update deps
16
+
17
+ - [#386](https://github.com/AtomicSmash/packages/pull/386) [`31b78e8`](https://github.com/AtomicSmash/packages/commit/31b78e83c9e1fba334e0bb357324e51a2fea3adf) Thanks [@mikeybinns](https://github.com/mikeybinns)! - Add missing plugin for mjs stylelint config
18
+
19
+ - Updated dependencies [[`bdf6201`](https://github.com/AtomicSmash/packages/commit/bdf62013941a052b4168ddd75a4850904ae69570), [`d767d3d`](https://github.com/AtomicSmash/packages/commit/d767d3d0db1dfa54f8b777a54486b8ff42a2e756)]:
20
+ - @atomicsmash/eslint-config@15.0.0
21
+ - @atomicsmash/browserslist-config@15.0.0
22
+
23
+ ## 15.0.0-beta.2
24
+
25
+ ### Patch Changes
26
+
27
+ - [#386](https://github.com/AtomicSmash/packages/pull/386) [`31b78e8`](https://github.com/AtomicSmash/packages/commit/31b78e83c9e1fba334e0bb357324e51a2fea3adf) Thanks [@mikeybinns](https://github.com/mikeybinns)! - Don't lint root media queries for nested classes
28
+
29
+ - [#386](https://github.com/AtomicSmash/packages/pull/386) [`31b78e8`](https://github.com/AtomicSmash/packages/commit/31b78e83c9e1fba334e0bb357324e51a2fea3adf) Thanks [@mikeybinns](https://github.com/mikeybinns)! - Add missing plugin for mjs stylelint config
30
+
31
+ - Updated dependencies []:
32
+ - @atomicsmash/eslint-config@15.0.0-beta.2
33
+ - @atomicsmash/browserslist-config@15.0.0-beta.2
34
+
3
35
  ## 15.0.0-beta.1
4
36
 
5
37
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomicsmash/coding-standards",
3
- "version": "15.0.0-beta.1",
3
+ "version": "15.0.0",
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.19.4"
9
9
  },
10
10
  "peerDependencies": {
11
- "@atomicsmash/browserslist-config": "^15.0.0-beta.1",
12
- "@atomicsmash/eslint-config": "^15.0.0-beta.1",
11
+ "@atomicsmash/browserslist-config": "^15.0.0",
12
+ "@atomicsmash/eslint-config": "^15.0.0",
13
13
  "@commitlint/cli": "^19.8.1",
14
14
  "@commitlint/config-conventional": "^19.8.1",
15
15
  "@wordpress/stylelint-config": "^23.19.0",
@@ -32,7 +32,8 @@ const commonRules = {
32
32
  "plugin/no-restricted-syntax": [
33
33
  [
34
34
  {
35
- selector: ":matches(atrule[name=media], atrule[name=container]) rule",
35
+ selector:
36
+ "rule :matches(atrule[name=media], atrule[name=container]) rule",
36
37
  message:
37
38
  "Don't nest rules inside of media/container blocks. Instead, nest the rule and use the at rule within that.",
38
39
  },
@@ -32,7 +32,8 @@ const commonRules = {
32
32
  "plugin/no-restricted-syntax": [
33
33
  [
34
34
  {
35
- selector: ":matches(atrule[name=media], atrule[name=container]) rule",
35
+ selector:
36
+ "rule :matches(atrule[name=media], atrule[name=container]) rule",
36
37
  message:
37
38
  "Don't nest rules inside of media/container blocks. Instead, nest the rule and use the at rule within that.",
38
39
  },
@@ -58,7 +59,7 @@ export default {
58
59
  reportDescriptionlessDisables: true,
59
60
  reportInvalidScopeDisables: true,
60
61
  reportNeedlessDisables: true,
61
- plugins: ["stylelint-order"],
62
+ plugins: ["stylelint-order", "stylelint-no-restricted-syntax"],
62
63
  rules: commonRules,
63
64
  overrides: [
64
65
  {