Skip to content

Commit

Permalink
Use vue recommended stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanMulready committed Feb 7, 2022
1 parent c64f1d9 commit 8fb34df
Show file tree
Hide file tree
Showing 3 changed files with 99 additions and 1 deletion.
90 changes: 90 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,14 @@
"eslint-plugin-vue": "^8.4.1",
"eslint-plugin-vue-a11y": "0.0.31",
"eslint-plugin-vuejs-accessibility": "^1.1.1",
"postcss-html": "^1.3.0",
"prettier": "^2.5.1",
"prettier-eslint": "^13.0.0",
"stylelint": "^14.3.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-recommended": "^6.0.0",
"stylelint-config-recommended-scss": "^5.0.2",
"stylelint-config-recommended-vue": "^1.1.0",
"stylelint-config-sass-guidelines": "^9.0.1",
"stylelint-prettier": "^2.0.0",
"stylelint-scss": "^4.1.0"
Expand Down
7 changes: 6 additions & 1 deletion stylelint.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
module.exports = {
ignoreFiles: ['**/*.js'],
plugins: ['stylelint-scss', 'stylelint-prettier'],
extends: ['stylelint-config-recommended', 'stylelint-config-sass-guidelines', 'stylelint-prettier/recommended'],
extends: [
'stylelint-config-recommended',
'stylelint-config-sass-guidelines',
'stylelint-prettier/recommended',
'stylelint-config-recommended-vue/scss',
],
rules: {
'prettier/prettier': true,
// http://stylelint.io/user-guide/rules/max-nesting-depth#max-nesting-depth
Expand Down

0 comments on commit 8fb34df

Please sign in to comment.