Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: xojs/stylelint-config-xo-space
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.12.0
Choose a base ref
...
head repository: xojs/stylelint-config-xo-space
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.13.0
Choose a head ref
  • 2 commits
  • 4 files changed
  • 1 contributor

Commits on May 25, 2019

  1. Copy the full SHA
    f7baa9c View commit details
  2. 0.13.0

    sindresorhus committed May 25, 2019
    Copy the full SHA
    ee4b6b7 View commit details
Showing with 9 additions and 15 deletions.
  1. +1 −1 .travis.yml
  2. +6 −6 package.json
  3. +0 −5 readme.md
  4. +2 −3 test/test.js
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: node_js
node_js:
- '12'
- '10'
- '8'
- '6'
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stylelint-config-xo-space",
"version": "0.12.0",
"version": "0.13.0",
"description": "Stylelint shareable config for XO with 2-space indent",
"license": "MIT",
"repository": "xojs/stylelint-config-xo-space",
@@ -10,7 +10,7 @@
"url": "sindresorhus.com"
},
"engines": {
"node": ">=6"
"node": ">=8"
},
"scripts": {
"test": "xo && ava"
@@ -45,14 +45,14 @@
"simple"
],
"dependencies": {
"stylelint-config-xo": "^0.13.0"
"stylelint-config-xo": "^0.15.0"
},
"devDependencies": {
"ava": "^1.2.1",
"stylelint": "^9.10.1",
"ava": "^1.4.1",
"stylelint": "^10.0.1",
"xo": "^0.24.0"
},
"peerDependencies": {
"stylelint": ">=9.10.1"
"stylelint": ">=10"
}
}
5 changes: 0 additions & 5 deletions readme.md
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

- [stylelint-config-xo](https://github.com/xojs/stylelint-config-xo) - Stylelint shareable config for XO with tab indent
- [xo](https://github.com/xojs/xo) - JavaScript linter


## License

MIT © [Sindre Sorhus](https://sindresorhus.com)
5 changes: 2 additions & 3 deletions test/test.js
Original file line number Diff line number Diff line change
@@ -12,11 +12,10 @@ const runStylelint = async code => {
};

test('main', async t => {
const results = await runStylelint(`
div {
const results = await runStylelint(`div {
left: .2em;
}
`);
`);

t.is(results[0].warnings[0].rule, 'number-leading-zero');
});