@onefinity/stylelint-config 3.0.0 → 3.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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.js +9 -14
  3. package/package.json +13 -3
package/README.md CHANGED
@@ -18,7 +18,7 @@ project-specific Stylelint configuration.
18
18
  Install the package using the following command.
19
19
 
20
20
  ```shell
21
- $ npm install --save-dev @onefinity/stylelint-config
21
+ npm install --save-dev @onefinity/stylelint-config
22
22
  ```
23
23
 
24
24
  ### Extending
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export default {
2
2
  extends: [
3
- 'stylelint-config-standard-scss',
4
- '@stylistic/stylelint-config'
3
+ '@stylistic/stylelint-config',
4
+ 'stylelint-config-standard-scss'
5
5
  ],
6
6
  plugins: [
7
7
  'stylelint-order'
@@ -69,8 +69,7 @@ export default {
69
69
  'grid-column-start',
70
70
  'grid-column-end'
71
71
  ]
72
- },
73
- {
72
+ }, {
74
73
  order: 'flexible',
75
74
  properties: [
76
75
  'flex',
@@ -88,8 +87,7 @@ export default {
88
87
  'align-content',
89
88
  'align-self'
90
89
  ]
91
- },
92
- {
90
+ }, {
93
91
  order: 'flexible',
94
92
  properties: [
95
93
  'table-layout',
@@ -116,8 +114,7 @@ export default {
116
114
  'margin-bottom',
117
115
  'margin-left'
118
116
  ]
119
- },
120
- {
117
+ }, {
121
118
  order: 'flexible',
122
119
  properties: [
123
120
  'border',
@@ -146,8 +143,7 @@ export default {
146
143
  'border-bottom-right-radius',
147
144
  'border-bottom-left-radius'
148
145
  ]
149
- },
150
- {
146
+ }, {
151
147
  order: 'flexible',
152
148
  properties: [
153
149
  'outline',
@@ -155,8 +151,7 @@ export default {
155
151
  'outline-style',
156
152
  'outline-color'
157
153
  ]
158
- },
159
- {
154
+ }, {
160
155
  order: 'flexible',
161
156
  properties: [
162
157
  'overflow',
@@ -165,11 +160,11 @@ export default {
165
160
  ]
166
161
  },
167
162
  'transform'
168
- ],
169
- {
163
+ ], {
170
164
  unspecified: 'bottom'
171
165
  }
172
166
  ],
167
+ 'scss/at-mixin-argumentless-call-parentheses': 'always',
173
168
  'selector-class-pattern': ['^[a-z][a-zA-Z0-9]*$', {
174
169
  resolveNestedSelectors: true
175
170
  }],
package/package.json CHANGED
@@ -1,7 +1,14 @@
1
1
  {
2
2
  "name": "@onefinity/stylelint-config",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "homepage": "https://gitlab.com/onefinity/stylelint-config",
5
+ "type": "module",
6
+ "main": "index.js",
7
+ "license": "MIT",
8
+ "scripts": {
9
+ "lint": "eslint",
10
+ "test": "node --test"
11
+ },
5
12
  "repository": {
6
13
  "type": "git",
7
14
  "url": "git+https://gitlab.com/onefinity/stylelint-config.git"
@@ -15,10 +22,13 @@
15
22
  "email": "cas.cornelissen@onefinity.io",
16
23
  "url": "https://www.onefinity.io/"
17
24
  },
18
- "license": "MIT",
19
25
  "files": [
20
- "*.js"
26
+ "index.js"
21
27
  ],
28
+ "devDependencies": {
29
+ "@onefinity/eslint-config": "^3.0.2",
30
+ "expect": "^29.7.0"
31
+ },
22
32
  "peerDependencies": {
23
33
  "@stylistic/stylelint-config": ">=2.0.0 <3.0.0",
24
34
  "stylelint": ">=16.0.0 <17.0.0",