@atomicsmash/coding-standards 13.0.1 → 14.0.0-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 +16 -0
- package/package.json +3 -3
- package/stylelint/base.cjs +1 -1
- package/stylelint/base.mjs +1 -1
- package/stylelint/index.cjs +1 -0
- package/stylelint/index.mjs +4 -3
- package/stylelint/tailwind.cjs +38 -0
- package/stylelint/tailwind.js +1 -0
- package/stylelint/tailwind.mjs +38 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atomicsmash/coding-standards
|
|
2
2
|
|
|
3
|
+
## 14.0.0-beta.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#346](https://github.com/AtomicSmash/packages/pull/346) [`b2e42a2`](https://github.com/AtomicSmash/packages/commit/b2e42a2364bd2abb427ae707de8f1f7c1a734f4d) Thanks [@cmg8ball](https://github.com/cmg8ball)! - Add tailwind rules for stylelint.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#346](https://github.com/AtomicSmash/packages/pull/346) [`b2e42a2`](https://github.com/AtomicSmash/packages/commit/b2e42a2364bd2abb427ae707de8f1f7c1a734f4d) Thanks [@cmg8ball](https://github.com/cmg8ball)! - Fix mjs index export.
|
|
12
|
+
|
|
13
|
+
- [#346](https://github.com/AtomicSmash/packages/pull/346) [`b2e42a2`](https://github.com/AtomicSmash/packages/commit/b2e42a2364bd2abb427ae707de8f1f7c1a734f4d) Thanks [@cmg8ball](https://github.com/cmg8ball)! - Update @rule order stylelint.
|
|
14
|
+
|
|
15
|
+
- Updated dependencies []:
|
|
16
|
+
- @atomicsmash/eslint-config@14.0.0-beta.0
|
|
17
|
+
- @atomicsmash/browserslist-config@14.0.0-beta.0
|
|
18
|
+
|
|
3
19
|
## 13.0.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atomicsmash/coding-standards",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0-beta.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": "^
|
|
12
|
-
"@atomicsmash/eslint-config": "^
|
|
11
|
+
"@atomicsmash/browserslist-config": "^14.0.0-beta.0",
|
|
12
|
+
"@atomicsmash/eslint-config": "^14.0.0-beta.0",
|
|
13
13
|
"@commitlint/cli": "^19.8.1",
|
|
14
14
|
"@commitlint/config-conventional": "^19.8.1",
|
|
15
15
|
"@wordpress/stylelint-config": "^23.16.0",
|
package/stylelint/base.cjs
CHANGED
package/stylelint/base.mjs
CHANGED
package/stylelint/index.cjs
CHANGED
package/stylelint/index.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { default as
|
|
2
|
-
import { default as
|
|
3
|
-
|
|
1
|
+
import { default as classic } from "./classic.mjs";
|
|
2
|
+
import { default as themeJson } from "./theme-json.mjs";
|
|
3
|
+
import { default as tailwind } from "./tailwind.mjs";
|
|
4
|
+
export default { classic, themeJson, tailwind };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
overrides: [
|
|
3
|
+
{
|
|
4
|
+
files: ["*.css", "**/*.css"],
|
|
5
|
+
rules: {
|
|
6
|
+
'at-rule-no-unknown': [
|
|
7
|
+
true,
|
|
8
|
+
{
|
|
9
|
+
ignoreAtRules: [
|
|
10
|
+
'tailwind',
|
|
11
|
+
'apply',
|
|
12
|
+
'variants',
|
|
13
|
+
'responsive',
|
|
14
|
+
'screen',
|
|
15
|
+
],
|
|
16
|
+
},
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
files: ["*.scss", "**/*.scss"],
|
|
22
|
+
rules: {
|
|
23
|
+
'scss/at-rule-no-unknown': [
|
|
24
|
+
true,
|
|
25
|
+
{
|
|
26
|
+
ignoreAtRules: [
|
|
27
|
+
'tailwind',
|
|
28
|
+
'apply',
|
|
29
|
+
'variants',
|
|
30
|
+
'responsive',
|
|
31
|
+
'screen',
|
|
32
|
+
],
|
|
33
|
+
},
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
]
|
|
38
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require("./tailwind.cjs");
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
overrides: [
|
|
3
|
+
{
|
|
4
|
+
files: ["*.css", "**/*.css"],
|
|
5
|
+
rules: {
|
|
6
|
+
'at-rule-no-unknown': [
|
|
7
|
+
true,
|
|
8
|
+
{
|
|
9
|
+
ignoreAtRules: [
|
|
10
|
+
'tailwind',
|
|
11
|
+
'apply',
|
|
12
|
+
'variants',
|
|
13
|
+
'responsive',
|
|
14
|
+
'screen',
|
|
15
|
+
],
|
|
16
|
+
},
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
files: ["*.scss", "**/*.scss"],
|
|
22
|
+
rules: {
|
|
23
|
+
'scss/at-rule-no-unknown': [
|
|
24
|
+
true,
|
|
25
|
+
{
|
|
26
|
+
ignoreAtRules: [
|
|
27
|
+
'tailwind',
|
|
28
|
+
'apply',
|
|
29
|
+
'variants',
|
|
30
|
+
'responsive',
|
|
31
|
+
'screen',
|
|
32
|
+
],
|
|
33
|
+
},
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
]
|
|
38
|
+
};
|