Change sass-lint config to very specifically target files to lint (#28048)

This commit is contained in:
Chandler Prall 2019-01-03 20:16:37 -07:00 committed by dave.snider@gmail.com
parent d568e65e78
commit 52d2be5312

View file

@ -1,13 +1,7 @@
files:
include:
- '{src,x-pack}/**/*.s+(a|c)ss'
ignore:
# _only include_ rollup and security files
- '**/x-pack/plugins/!(rollup|security)/**'
# ignore all of src
- '**/src/**/*'
# ignore all node_modules
- '**/node_modules/**'
- 'x-pack/plugins/rollup/**/*.s+(a|c)ss'
- 'x-pack/plugins/security/**/*.s+(a|c)ss'
rules:
quotes:
- 2