Updated answer:
Yes, now it's possible. In your example it could look like
{
"rules": {
"quotes": [ 2, "double" ]
},
"overrides": [
{
"files": [ "app/module1/*.js" ],
"excludedFiles": "*.spec.js",
"rules": {
"quotes": [ 2, "single" ]
}
}
]
}
You can read more at eslint doc page.
Old answer:
Currently this is not supported. But for 2.0.0
version we are actively working on this feature.
To track progress: https://github.com/eslint/eslint/issues/3611
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…