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:
Alexey Kuzmin 2020-01-29 18:03:53 +01:00 committed by GitHub
parent 20660285e2
commit bc0f5acc73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 13 additions and 5 deletions

View file

@ -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])