feat: allImportsAreUnused error can be converted to warning (#337)

This commit is contained in:
Heyward Fann 2021-12-30 15:29:11 +08:00 committed by GitHub
parent 767b21b28e
commit fc601dbd95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,7 @@ import TypingsStatus, { AtaProgressReporter } from './utils/typingsStatus'
const styleCheckDiagnostics = [ const styleCheckDiagnostics = [
6133, // variable is declared but never used 6133, // variable is declared but never used
6138, // property is declared but its value is never read 6138, // property is declared but its value is never read
6192, // allImportsAreUnused
7027, // unreachable code detected 7027, // unreachable code detected
7028, // unused label 7028, // unused label
7029, // fall through case in switch 7029, // fall through case in switch