1
我可以按全局模式分割ESLint規則嗎?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。有沒有這樣的ESLint?