@atomicsmash/coding-standards 15.0.0-beta.1 → 15.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
+ ## 15.0.0-beta.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
9
+ - [#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
10
+
11
+ - Updated dependencies []:
12
+ - @atomicsmash/eslint-config@15.0.0-beta.2
13
+ - @atomicsmash/browserslist-config@15.0.0-beta.2
14
+
3
15
  ## 15.0.0-beta.1
4
16
 
5
17
  ### 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-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.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-beta.2",
12
+ "@atomicsmash/eslint-config": "^15.0.0-beta.2",
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
  {