Skip to content

Commit d4aee87

Browse files
Support stylelint 15 (#70)
* feat: support stylelint 15 * feat: support stylelint v15 * chore: deps * chore: fix deps * chore: fix deps * chore: node version
1 parent edccadc commit d4aee87

File tree

4 files changed

+6519
-7330
lines changed

4 files changed

+6519
-7330
lines changed

.eslintrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,11 @@ module.exports = {
22
root: true,
33
extends: [
44
'@nuxtjs'
5+
],
6+
env: {
7+
'jest/globals': true
8+
},
9+
plugins: [
10+
'jest'
511
]
612
}

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
matrix:
1717
# os: [ubuntu-latest, macos-latest, windows-latest]
1818
os: [ubuntu-latest]
19-
node: [12, 14]
19+
node: [14]
2020

2121
steps:
2222
- uses: actions/setup-node@v2

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,15 @@
2727
"@nuxtjs/eslint-config": "latest",
2828
"@nuxtjs/module-test-utils": "latest",
2929
"eslint": "latest",
30-
"husky": "latest",
30+
"eslint-plugin-jest": "latest",
31+
"husky": "^4.3.8",
3132
"jest": "latest",
3233
"nuxt-edge": "latest",
3334
"standard-version": "latest",
3435
"stylelint": "latest"
3536
},
3637
"peerDependencies": {
37-
"stylelint": "^13.0.0 || ^14.0.0",
38+
"stylelint": ">=13",
3839
"webpack": "^4.0.0 || ^5.0.0"
3940
},
4041
"publishConfig": {

0 commit comments

Comments
 (0)