File tree Expand file tree Collapse file tree 4 files changed +8
-14
lines changed
Expand file tree Collapse file tree 4 files changed +8
-14
lines changed Original file line number Diff line number Diff line change 11language : node_js
22node_js :
3+ - ' 12'
34 - ' 10'
45 - ' 8'
5- - ' 6'
Original file line number Diff line number Diff line change 1010 "url" : " sindresorhus.com"
1111 },
1212 "engines" : {
13- "node" : " >=6 "
13+ "node" : " >=8 "
1414 },
1515 "scripts" : {
1616 "test" : " xo && ava"
4545 " simple"
4646 ],
4747 "dependencies" : {
48- "stylelint-config-xo" : " ^0.13 .0"
48+ "stylelint-config-xo" : " ^0.15 .0"
4949 },
5050 "devDependencies" : {
51- "ava" : " ^1.2 .1" ,
52- "stylelint" : " ^9.10 .1" ,
51+ "ava" : " ^1.4 .1" ,
52+ "stylelint" : " ^10.0 .1" ,
5353 "xo" : " ^0.24.0"
5454 },
5555 "peerDependencies" : {
56- "stylelint" : " >=9.10.1 "
56+ "stylelint" : " >=10 "
5757 }
5858}
Original file line number Diff line number Diff line change @@ -25,8 +25,3 @@ Add this to your [Stylelint config](https://stylelint.io/user-guide/configuratio
2525
2626- [ stylelint-config-xo] ( https://github.com/xojs/stylelint-config-xo ) - Stylelint shareable config for XO with tab indent
2727- [ xo] ( https://github.com/xojs/xo ) - JavaScript linter
28-
29-
30- ## License
31-
32- MIT © [ Sindre Sorhus] ( https://sindresorhus.com )
Original file line number Diff line number Diff line change @@ -12,11 +12,10 @@ const runStylelint = async code => {
1212} ;
1313
1414test ( 'main' , async t => {
15- const results = await runStylelint ( `
16- div {
15+ const results = await runStylelint ( `div {
1716 left: .2em;
1817}
19- `) ;
18+ ` ) ;
2019
2120 t . is ( results [ 0 ] . warnings [ 0 ] . rule , 'number-leading-zero' ) ;
2221} ) ;
You can’t perform that action at this time.
0 commit comments