Skip to content
This repository was archived by the owner on Nov 14, 2024. It is now read-only.

Commit afa3a2d

Browse files
Narrow scope of stylelint to resources folder
1 parent fd5f420 commit afa3a2d

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

build/app.config.js

+10-8
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ module.exports = merge({
8989
*/
9090
settings: {
9191
sourceMaps: env('SOURCEMAPS', true),
92-
styleLint: {},
92+
styleLint: {
93+
context: 'resources/assets'
94+
},
9395
autoprefixer: {
9496
browsers: ['last 2 versions', '> 1%'],
9597
},
@@ -100,13 +102,13 @@ module.exports = merge({
100102
open: env('BROWSERSYNC_OPEN', false),
101103
reloadDelay: env('BROWSERSYNC_DELAY', 500),
102104
files: [
103-
"*.php",
104-
"app/**/*.php",
105-
"resources/templates/**/*.php",
106-
"resources/assets/js/**/*.js",
107-
"resources/assets/sass/**/*.{sass,scss}",
108-
"resources/assets/images/**/*.{jpg,jpeg,png,gif,svg}",
109-
"resources/assets/fonts/**/*.{eot,ttf,woff,woff2,svg}"
105+
'*.php',
106+
'app/**/*.php',
107+
'resources/templates/**/*.php',
108+
'resources/assets/js/**/*.js',
109+
'resources/assets/sass/**/*.{sass,scss}',
110+
'resources/assets/images/**/*.{jpg,jpeg,png,gif,svg}',
111+
'resources/assets/fonts/**/*.{eot,ttf,woff,woff2,svg}'
110112
]
111113
}
112114
}

0 commit comments

Comments
 (0)