Skip to content

Commit

Permalink
Stylelint 16 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalduez committed Dec 20, 2023
1 parent 5ff378f commit da95353
Show file tree
Hide file tree
Showing 8 changed files with 354 additions and 404 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
dist
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
rules: {
'selector-pseudo-class-no-unknown': [
true,
Expand Down
39 changes: 27 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,30 +18,45 @@
"url": "git://github.com/pascalduez/stylelint-config-css-modules.git"
},
"license": "Unlicense",
"main": "index.js",
"type": "module",
"main": "./dist/index.cjs",
"exports": {
".": {
"import": {
"default": "./dist/index.js"
},
"require": {
"default": "./dist/index.cjs"
}
}
},
"files": [
"CHANGELOG.md",
"index.js",
"dist/**/*.js",
"dist/**/*.cjs",
"README.md",
"UNLICENSE"
],
"scripts": {
"format:check": "prettier -l '**/*.{js,css,scss}'",
"format:write": "prettier --write '**/*.{js,scss,css}'",
"test": "node --test"
"test": "node --test",
"build": "rollup -c",
"prepare": "pnpm build"
},
"packageManager": "pnpm@8.12.1+sha256.28ca61ece5a496148b73fabc9afb820f9c3fec4f55f04ce45a2cea0a5219f2e1",
"devDependencies": {
"postcss": "^8.4.27",
"prettier": "^3.0.1",
"stylelint": "^15.10.2",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-scss": "^10.0.0"
"postcss": "^8.4.32",
"prettier": "^3.1.1",
"rollup": "^4.9.1",
"stylelint": "^16.0.2",
"stylelint-config-standard": "^35.0.0",
"stylelint-config-standard-scss": "^12.0.0"
},
"peerDependencies": {
"stylelint": "^14.5.1 || ^15.0.0"
"stylelint": "^14.5.1 || ^15.0.0 || ^16.0.0"
},
"optionalDependencies": {
"stylelint-scss": "^5.1.0"
},
"packageManager": "pnpm@8.12.1+sha256.28ca61ece5a496148b73fabc9afb820f9c3fec4f55f04ce45a2cea0a5219f2e1"
"stylelint-scss": "^6.0.0"
}
}
Loading

0 comments on commit da95353

Please sign in to comment.