description:(_a=["\n Disallows the use constant number values outside of variable assignments.\n When no list of allowed values is specified, -1, 0 and 1 are allowed by default."],_a.raw=["\n Disallows the use constant number values outside of variable assignments.\n When no list of allowed values is specified, -1, 0 and 1 are allowed by default."],Lint.Utils.dedent(_a)),
rationale:(_b=["\n Magic numbers should be avoided as they often lack documentation, forcing\n them to be stored in variables gives them implicit documentation."],_b.raw=["\n Magic numbers should be avoided as they often lack documentation, forcing\n them to be stored in variables gives them implicit documentation."],Lint.Utils.dedent(_b)),
optionsDescription:"A list of allowed numbers.",
options:{
type:"array",
items:{
type:"number",
},
minLength:1,
},
optionExamples:[true,[true,1,2,3]],
type:"typescript",
typescriptOnly:false,
};
/* tslint:enable:object-literal-sort-keys */
Rule.FAILURE_STRING="'magic numbers' are not allowed";