Set up prettier

pull/1/head
Patrick Marsceill 3 years ago
parent b27f5162c8
commit 4c022bd9ac
No known key found for this signature in database
GPG Key ID: 286B93882D828F40

@ -5,6 +5,7 @@
"_sass/vendor/**/*.scss"
],
"extends": [
"stylelint-prettier/recommended",
"stylelint-config-primer"
],
"plugins": ["stylelint-prettier"],

6
package-lock.json generated

@ -4499,6 +4499,12 @@
}
}
},
"stylelint-config-prettier": {
"version": "8.0.1",
"resolved": "https://registry.npmjs.org/stylelint-config-prettier/-/stylelint-config-prettier-8.0.1.tgz",
"integrity": "sha512-RcjNW7MUaNVqONhJH4+rtlAE3ow/9SsAM0YWV0Lgu3dbTKdWTa/pQXRdFWgoHWpzUKn+9oBKR5x8JdH+20wmgw==",
"dev": true
},
"stylelint-config-primer": {
"version": "9.0.0",
"resolved": "https://registry.npmjs.org/stylelint-config-primer/-/stylelint-config-primer-9.0.0.tgz",

@ -9,12 +9,13 @@
"@primer/css": "^14.3.0",
"prettier": "^2.0.5",
"stylelint": "^10.0.1",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-primer": "^9.0.0",
"stylelint-prettier": "^1.1.2",
"stylelint-selector-no-utility": "^4.0.0"
},
"scripts": {
"test": "stylelint '**/*.scss'"
"test": "stylelint '**/*.scss'",
"format": "pretter --write '**/*.{scss,js,json}'"
}
}

Loading…
Cancel
Save