是否支持以与扩展.jshintrc配置文件相同的方式扩展..scss lint.yml配置文件?
我的目标是从节点包中提取所有配置文件。所以jshint看起来是这样的:
{
"extends": "./node_modules/npm-package-name/shared/.jshintrc",
"browser": true
}我不知道怎么处理scss-lint文件。
发布于 2015-10-01 13:41:00
到目前为止,这是不可能的。解决方案是创建一个指向scss-lint文件的符号链接。
ln -s path/to/symlink/filename filename发布于 2020-05-18 11:35:05
是的,可以通过config-file设置:
示例:
options:
config-file: ./node_modules/@my-shared-repo/configuration/sass-lint.yml
convention: hyphenatedbem
rules:
class-name-format: 1https://stackoverflow.com/questions/31147565
复制相似问题