Skip to content

Commit

Permalink
MNT Replace sass-lint with stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabina Talipova committed Apr 19, 2024
1 parent 4df6b55 commit 72f40dc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
8 changes: 8 additions & 0 deletions configMeta/stylelintWebpackConfig.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const BaseWebpackConfig = require('./baseWebpackConfig');
const StylelintPlugin = require('stylelint-webpack-plugin');

module.exports = class StylelintWebpackConfig extends BaseWebpackConfig {
plugins: [
new StylelintPlugin()
],
};
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,16 @@
"postcss-loader": "^7.0.1",
"resolve-url-loader": "^5.0.0",
"sass": "^1.55.0",
"sass-lint": "^1.13.1",
"sass-loader": "^13.1.0",
"stylelint": "^16.3.1",
"stylelint-config-airbnb": "^0.0.0",
"stylelint-config-recommended": "^14.0.0",
"stylelint-config-recommended-scss": "^14.0.0",
"stylelint-config-sass-guidelines": "^11.1.0",
"stylelint-config-standard": "^36.0.0",
"stylelint-order": "^6.0.4",
"stylelint-scss": "^6.2.1",
"stylelint-webpack-plugin": "^5.0.0",
"webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.7.0"
},
Expand Down

0 comments on commit 72f40dc

Please sign in to comment.