我可以按 glob 模式拆分 ESLint 规则吗?
我的意思是这样的情况:
{
"*.server.js": { /* rules set for the server JS */ },
"*.client.js": { /* rules set for the client JS */ },
"*.special.js": { /* some very special JS */ },
"*.js": { /* all other JS with its own rules not intersecting with others */ }
}
JSHint 有 jshint-groups 包装器。ESLint 有类似的东西吗?