-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require Node.js 18, Stylelint 16, and move to ESM
- Loading branch information
1 parent
bdcc388
commit bf8832a
Showing
4 changed files
with
26 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
const config = { | ||
extends: 'stylelint-config-xo', | ||
rules: { | ||
indentation: [ | ||
2, | ||
{ | ||
baseIndentLevel: 1 | ||
} | ||
] | ||
} | ||
baseIndentLevel: 1, | ||
}, | ||
], | ||
}, | ||
}; | ||
|
||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,11 @@ | |
"email": "[email protected]", | ||
"url": "https://sindresorhus.com" | ||
}, | ||
"type": "module", | ||
"exports": "./index.js", | ||
"sideEffects": false, | ||
"engines": { | ||
"node": ">=12" | ||
"node": ">=18" | ||
}, | ||
"scripts": { | ||
"test": "xo && ava" | ||
|
@@ -46,14 +49,14 @@ | |
"simple" | ||
], | ||
"dependencies": { | ||
"stylelint-config-xo": "^0.21.0" | ||
"stylelint-config-xo": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"ava": "^2.4.0", | ||
"stylelint": "^14.5.3", | ||
"xo": "^0.33.1" | ||
"ava": "^6.1.2", | ||
"stylelint": "^16.4.0", | ||
"xo": "^0.58.0" | ||
}, | ||
"peerDependencies": { | ||
"stylelint": ">=14" | ||
"stylelint": ">=16" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters