chore: fix linter errors in .mm files (#21931)
* chore: fix the "npm run lint:obj" invocation * chore: fix linter errors in .mm files
This commit is contained in:
parent
20660285e2
commit
bc0f5acc73
6 changed files with 13 additions and 5 deletions
|
@ -281,8 +281,8 @@ async function main () {
|
|||
const opts = parseCommandLine()
|
||||
|
||||
// no mode specified? run 'em all
|
||||
if (!opts['c++'] && !opts.javascript && !opts.python && !opts.gn && !opts.patches) {
|
||||
opts['c++'] = opts.javascript = opts.python = opts.gn = opts.patches = true
|
||||
if (!opts['c++'] && !opts.javascript && !opts.objc && !opts.python && !opts.gn && !opts.patches) {
|
||||
opts['c++'] = opts.javascript = opts.objc = opts.python = opts.gn = opts.patches = true
|
||||
}
|
||||
|
||||
const linters = LINTERS.filter(x => opts[x.key])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue