Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore-local does not work for function assigned to const #23

Closed
jonaskello opened this issue Apr 11, 2017 · 0 comments
Closed

ignore-local does not work for function assigned to const #23

jonaskello opened this issue Apr 11, 2017 · 0 comments
Labels

Comments

@jonaskello
Copy link
Owner

The readonly-array rule should not give errors for this code when ignore-local option is set:

const foo = function (): string {
  let bar: Array<string>;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant