mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-27 16:36:00 +00:00
Use Stylelint directly
This commit is contained in:
parent
da0404f2b5
commit
3802d18204
6 changed files with 11 additions and 22 deletions
|
@ -1,5 +1,4 @@
|
|||
const Encore = require('@symfony/webpack-encore');
|
||||
const StyleLintPlugin = require('stylelint-webpack-plugin');
|
||||
|
||||
if (!Encore.isRuntimeEnvironmentConfigured()) {
|
||||
Encore.configureRuntimeEnvironment(process.env.NODE_ENV || 'dev');
|
||||
|
@ -23,13 +22,6 @@ Encore
|
|||
})
|
||||
.enableSassLoader()
|
||||
.enablePostCssLoader()
|
||||
.autoProvidejQuery()
|
||||
.addPlugin(new StyleLintPlugin({
|
||||
configFile: 'stylelint.config.js',
|
||||
failOnError: false,
|
||||
quiet: false,
|
||||
context: 'assets',
|
||||
files: '**/*.scss',
|
||||
}));
|
||||
.autoProvidejQuery();
|
||||
|
||||
module.exports = Encore.getWebpackConfig();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue