Skip to content

Commit

Permalink
chore: Revert inclusion of from as a creator.
Browse files Browse the repository at this point in the history
  • Loading branch information
cartant committed May 19, 2021
1 parent e2fb383 commit 9a21708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/rules/noAssignMutatedArrayRule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import * as ts from "typescript";
import { couldBeType } from "../support";

const mutatorRegExp = /^(fill|reverse|sort)$/;
const creatorRegExp = /^(concat|entries|filter|from|keys|map|slice|splice|values)$/;
const creatorRegExp = /^(concat|entries|filter|keys|map|slice|splice|values)$/;

export class Rule extends Lint.Rules.TypedRule {
public static metadata: Lint.IRuleMetadata = {
Expand Down

0 comments on commit 9a21708

Please sign in to comment.