File tree Expand file tree Collapse file tree 4 files changed +19
-22
lines changed
packages/stylelint-config Expand file tree Collapse file tree 4 files changed +19
-22
lines changed Original file line number Diff line number Diff line change 1
1
# ` @lmc-eu/stylelint-config `
2
2
3
- > LMC's config for stylelint
3
+ [ ![ npm version] ( https://img.shields.io/npm/v/@lmc-eu/stylelint-config?label=npm%20package&logo=npm )] ( https://www.npmjs.org/package/@lmc-eu/stylelint-config )
4
+ [ ![ Node version] ( https://img.shields.io/node/v/@lmc-eu/stylelint-config.svg?style=flat&logo=nodedotjs )] ( http://nodejs.org/download/ )
5
+ [ ![ Stylelint version] ( https://img.shields.io/npm/dependency-version/@lmc-eu/stylelint-config/peer/stylelint?logo=stylelint )] ( https://github.com/stylelint/stylelint )
6
+
7
+ > LMC's config for Stylelint
4
8
5
9
## Usage
6
10
7
11
``` bash
8
12
# Yarn:
9
- yarn add --dev @lmc-eu/stylelint-config
13
+ yarn add --dev @lmc-eu/stylelint-config stylelint-config-prettier
10
14
11
15
# npm:
12
- npm install --save-dev @lmc-eu/stylelint-config
16
+ npm install --save-dev @lmc-eu/stylelint-config stylelint-config-prettier
13
17
```
14
18
15
- > We assume you are using prettier.
19
+ > We assume you are using Prettier. That's why we also recommend adding
20
+ > ` stylelint-config-prettier ` above.
16
21
17
22
## Configurations
18
23
19
24
### ` @lmc-eu/stylelint-config `
20
25
21
- Use this ruleset to configure StyleLint to work with your code
26
+ Use this ruleset to configure Stylelint to work with your code.
22
27
23
28
## Optional configurations
24
29
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- plugins : [ 'stylelint-order' ] ,
3
- defaultSeverity : 'error' ,
2
+ customSyntax : 'postcss-scss' ,
4
3
rules : {
5
4
'block-no-empty' : true ,
6
5
'string-no-newline' : true ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @lmc-eu/stylelint-config" ,
3
3
"version" : " 2.0.2" ,
4
- "description" : " LMC's config for stylelint " ,
4
+ "description" : " LMC's config for Stylelint " ,
5
5
"keywords" : [
6
6
" stylelint" ,
7
7
" lmc" ,
22
22
"node" : " >=10"
23
23
},
24
24
"dependencies" : {
25
- "stylelint-config-standard " : " ^20 .0.0 " ,
25
+ "postcss-scss " : " ^4 .0.3 " ,
26
26
"stylelint-order" : " ^4.1.0"
27
27
},
28
28
"peerDependencies" : {
29
- "stylelint" : " ^13.12 .0"
29
+ "stylelint" : " ^14.2 .0"
30
30
}
31
31
}
Original file line number Diff line number Diff line change @@ -7058,6 +7058,11 @@ posix-character-classes@^0.1.0:
7058
7058
resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab"
7059
7059
integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=
7060
7060
7061
+ postcss-scss@^4.0.3 :
7062
+ version "4.0.3"
7063
+ resolved "https://registry.yarnpkg.com/postcss-scss/-/postcss-scss-4.0.3.tgz#36c23c19a804274e722e83a54d20b838ab4767ac"
7064
+ integrity sha512-j4KxzWovfdHsyxwl1BxkUal/O4uirvHgdzMKS1aWJBAV0qh2qj5qAZqpeBfVUYGWv+4iK9Az7SPyZ4fyNju1uA==
7065
+
7061
7066
postcss-sorting@^5.0.1 :
7062
7067
version "5.0.1"
7063
7068
resolved "https://registry.yarnpkg.com/postcss-sorting/-/postcss-sorting-5.0.1.tgz#10d5d0059eea8334dacc820c0121864035bc3f11"
@@ -8215,18 +8220,6 @@ strong-log-transformer@^2.0.0:
8215
8220
minimist "^1.2.0"
8216
8221
through "^2.3.4"
8217
8222
8218
- stylelint-config-recommended@^3.0.0 :
8219
- version "3.0.0"
8220
- resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-3.0.0.tgz#e0e547434016c5539fe2650afd58049a2fd1d657"
8221
- integrity sha512-F6yTRuc06xr1h5Qw/ykb2LuFynJ2IxkKfCMf+1xqPffkxh0S09Zc902XCffcsw/XMFq/OzQ1w54fLIDtmRNHnQ==
8222
-
8223
- stylelint-config-standard@^20.0.0 :
8224
- version "20.0.0"
8225
- resolved "https://registry.yarnpkg.com/stylelint-config-standard/-/stylelint-config-standard-20.0.0.tgz#06135090c9e064befee3d594289f50e295b5e20d"
8226
- integrity sha512-IB2iFdzOTA/zS4jSVav6z+wGtin08qfj+YyExHB3LF9lnouQht//YyB0KZq9gGz5HNPkddHOzcY8HsUey6ZUlA==
8227
- dependencies :
8228
- stylelint-config-recommended "^3.0.0"
8229
-
8230
8223
stylelint-order@^4.1.0 :
8231
8224
version "4.1.0"
8232
8225
resolved "https://registry.yarnpkg.com/stylelint-order/-/stylelint-order-4.1.0.tgz#692d05b7d0c235ac66fcf5ea1d9e5f08a76747f6"
You can’t perform that action at this time.
0 commit comments