(**
 * Copyright (c) 2013-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *)

type sketchy_null_kind =
 | SketchyNullBool
 | SketchyNullString
 | SketchyNullNumber
 | SketchyNullMixed

type sketchy_number_kind =
  | SketchyNumberAnd

type lint_kind =
 | SketchyNull of sketchy_null_kind
 | SketchyNumber of sketchy_number_kind
 | UntypedTypeImport
 | UntypedImport
 | NonstrictImport
 | UnclearType
 | DeprecatedType
 | UnsafeGettersSetters
 | InexactSpread
 | UnnecessaryOptionalChain
 | DeprecatedCallSyntax

val string_of_kind: lint_kind -> string

val kinds_of_string: string -> lint_kind list option

module LintMap: MyMap.S with type key = lint_kind
module LintSet: Set.S with type elt = lint_kind
