Skip to content

Commit

Permalink
Update eslint-config-stylelint (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
hudochenkov committed Oct 20, 2018
1 parent 9efccc5 commit 456eec3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions __tests__/index.test.js
Expand Up @@ -25,7 +25,7 @@ describe("flags no warnings with valid css", () => {

it("flags no warnings", () => {
return result.then(data => (
expect(data.results[0].warnings.length).toBe(0)
expect(data.results[0].warnings).toHaveLength(0)
))
})
})
Expand All @@ -48,7 +48,7 @@ describe("flags warnings with invalid css", () => {

it("flags one warning", () => {
return result.then(data => (
expect(data.results[0].warnings.length).toBe(1)
expect(data.results[0].warnings).toHaveLength(1)
))
})

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -22,7 +22,7 @@
},
"devDependencies": {
"eslint": "^5.0.0",
"eslint-config-stylelint": "^8.0.0",
"eslint-config-stylelint": "^9.0.0",
"jest": "^23.4.1",
"jest-preset-stylelint": "^1.3.0",
"npm-run-all": "^4.0.0",
Expand Down

0 comments on commit 456eec3

Please sign in to comment.