stylelint-config-takiyon 3.0.0 → 4.0.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/.github/workflows/main.yml +25 -0
- package/.idea/php.xml +19 -0
- package/.yarn/install-state.gz +0 -0
- package/index.js +2 -19
- package/package.json +8 -6
- package/test/_variables.scss +12 -0
- package/test/sample.scss +1 -3
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
name: Build
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
pull_request:
|
|
5
|
+
jobs:
|
|
6
|
+
build-and-test:
|
|
7
|
+
runs-on: ubuntu-latest
|
|
8
|
+
strategy:
|
|
9
|
+
fail-fast: false
|
|
10
|
+
matrix:
|
|
11
|
+
node: [18, 20]
|
|
12
|
+
steps:
|
|
13
|
+
-
|
|
14
|
+
uses: actions/checkout@v3
|
|
15
|
+
-
|
|
16
|
+
name: Use Node.js ${{ matrix.node }}
|
|
17
|
+
uses: actions/setup-node@v3
|
|
18
|
+
with:
|
|
19
|
+
node-version: ${{ matrix.node }}
|
|
20
|
+
-
|
|
21
|
+
name: Install dependencies
|
|
22
|
+
run: yarn install
|
|
23
|
+
-
|
|
24
|
+
name: Run tests
|
|
25
|
+
run: npm run test
|
package/.idea/php.xml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="MessDetectorOptionsConfiguration">
|
|
4
|
+
<option name="transferred" value="true" />
|
|
5
|
+
</component>
|
|
6
|
+
<component name="PHPCSFixerOptionsConfiguration">
|
|
7
|
+
<option name="transferred" value="true" />
|
|
8
|
+
</component>
|
|
9
|
+
<component name="PHPCodeSnifferOptionsConfiguration">
|
|
10
|
+
<option name="highlightLevel" value="WARNING" />
|
|
11
|
+
<option name="transferred" value="true" />
|
|
12
|
+
</component>
|
|
13
|
+
<component name="PhpStanOptionsConfiguration">
|
|
14
|
+
<option name="transferred" value="true" />
|
|
15
|
+
</component>
|
|
16
|
+
<component name="PsalmOptionsConfiguration">
|
|
17
|
+
<option name="transferred" value="true" />
|
|
18
|
+
</component>
|
|
19
|
+
</project>
|
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/index.js
CHANGED
|
@@ -4,7 +4,6 @@ module.exports = {
|
|
|
4
4
|
extends: 'stylelint-config-recess-order',
|
|
5
5
|
customSyntax,
|
|
6
6
|
plugins: [
|
|
7
|
-
'stylelint-declaration-strict-value',
|
|
8
7
|
'stylelint-order',
|
|
9
8
|
'stylelint-scss',
|
|
10
9
|
],
|
|
@@ -80,11 +79,11 @@ module.exports = {
|
|
|
80
79
|
'scss/at-else-empty-line-before': 'never',
|
|
81
80
|
'scss/at-else-if-parentheses-space-before': 'always',
|
|
82
81
|
'scss/at-extend-no-missing-placeholder': true,
|
|
83
|
-
'scss/at-import-no-partial-leading-underscore': true,
|
|
84
82
|
'scss/at-import-partial-extension': 'never',
|
|
85
83
|
'scss/comment-no-loud': true,
|
|
86
|
-
'scss/dollar-variable-colon-space-after': 'always',
|
|
84
|
+
'scss/dollar-variable-colon-space-after': 'always-single-line',
|
|
87
85
|
'scss/dollar-variable-colon-space-before': 'never',
|
|
86
|
+
'scss/load-no-partial-leading-underscore': true,
|
|
88
87
|
'scss/selector-no-redundant-nesting-selector': true,
|
|
89
88
|
|
|
90
89
|
// No vendor prefixes
|
|
@@ -102,21 +101,5 @@ module.exports = {
|
|
|
102
101
|
'scss/at-mixin-pattern': '^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
|
|
103
102
|
'scss/dollar-variable-pattern': '^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
|
|
104
103
|
'scss/percent-placeholder-pattern': '^([a-z][a-z0-9]*)(-[a-z0-9]+)*$',
|
|
105
|
-
|
|
106
|
-
// Require variables
|
|
107
|
-
'scale-unlimited/declaration-strict-value': [
|
|
108
|
-
[
|
|
109
|
-
'/color/',
|
|
110
|
-
'background',
|
|
111
|
-
'font-family',
|
|
112
|
-
],
|
|
113
|
-
{
|
|
114
|
-
ignoreValues: [
|
|
115
|
-
'transparent',
|
|
116
|
-
'inherit',
|
|
117
|
-
'none',
|
|
118
|
-
],
|
|
119
|
-
},
|
|
120
|
-
],
|
|
121
104
|
},
|
|
122
105
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stylelint-config-takiyon",
|
|
3
|
-
"
|
|
3
|
+
"engines": {
|
|
4
|
+
"node": ">18.12.0"
|
|
5
|
+
},
|
|
6
|
+
"version": "4.0.2",
|
|
4
7
|
"description": "Shareable stylelint config for Takiyon",
|
|
5
8
|
"main": "index.js",
|
|
6
9
|
"scripts": {
|
|
@@ -22,16 +25,15 @@
|
|
|
22
25
|
},
|
|
23
26
|
"homepage": "https://github.com/takiyon-org/stylelint-config-takiyon#readme",
|
|
24
27
|
"peerDependencies": {
|
|
25
|
-
"stylelint": "^
|
|
28
|
+
"stylelint": "^16.0.2"
|
|
26
29
|
},
|
|
27
30
|
"devDependencies": {
|
|
28
|
-
"stylelint": "^
|
|
31
|
+
"stylelint": "^16.0.2"
|
|
29
32
|
},
|
|
30
33
|
"dependencies": {
|
|
31
34
|
"postcss": "^8.4.16",
|
|
32
35
|
"postcss-scss": "^4.0.5",
|
|
33
|
-
"stylelint-config-recess-order": "^
|
|
34
|
-
"stylelint-
|
|
35
|
-
"stylelint-scss": "^4.3.0"
|
|
36
|
+
"stylelint-config-recess-order": "^5.0.1",
|
|
37
|
+
"stylelint-scss": "^6.0.0"
|
|
36
38
|
}
|
|
37
39
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Variables
|
|
3
|
+
// --------------------------------------------------
|
|
4
|
+
|
|
5
|
+
$primary: #965883;
|
|
6
|
+
$header-color: #333;
|
|
7
|
+
$header-bg: darken($primary, 10%);
|
|
8
|
+
|
|
9
|
+
$font-family-base:
|
|
10
|
+
"Work Sans", "Helvetica Neue", "Noto Sans", "Liberation Sans", arial,
|
|
11
|
+
sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
|
|
12
|
+
"Noto Color Emoji";
|