Skip to content

Commit

Permalink
Narrow scope of stylelint to resources folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jedrzejchalubek committed Mar 27, 2018
1 parent fd5f420 commit afa3a2d
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions build/app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ module.exports = merge({
*/
settings: {
sourceMaps: env('SOURCEMAPS', true),
styleLint: {},
styleLint: {
context: 'resources/assets'
},
autoprefixer: {
browsers: ['last 2 versions', '> 1%'],
},
Expand All @@ -100,13 +102,13 @@ module.exports = merge({
open: env('BROWSERSYNC_OPEN', false),
reloadDelay: env('BROWSERSYNC_DELAY', 500),
files: [
"*.php",
"app/**/*.php",
"resources/templates/**/*.php",
"resources/assets/js/**/*.js",
"resources/assets/sass/**/*.{sass,scss}",
"resources/assets/images/**/*.{jpg,jpeg,png,gif,svg}",
"resources/assets/fonts/**/*.{eot,ttf,woff,woff2,svg}"
'*.php',
'app/**/*.php',
'resources/templates/**/*.php',
'resources/assets/js/**/*.js',
'resources/assets/sass/**/*.{sass,scss}',
'resources/assets/images/**/*.{jpg,jpeg,png,gif,svg}',
'resources/assets/fonts/**/*.{eot,ttf,woff,woff2,svg}'
]
}
}
Expand Down

0 comments on commit afa3a2d

Please sign in to comment.