Skip to content

Conversation

bmish
Copy link
Contributor

@bmish bmish commented Jul 28, 2022

Running linting in a brand new Ember addon with TypeScript with the ESLint no-use-before-define lint rule enabled:

~/Development/my-test-addon main * yarn eslint --ext=.ts,.js .

~/Development/my-test-addon/tests/dummy/app/config/environment.d.ts
  1:16  error  'config' was used before it was defined                                         no-use-before-define

This is an easy and harmless fix to avoid this lint violation for anyone using this lint rule.

@bmish
Copy link
Contributor Author

bmish commented Jul 28, 2022

Replacement PR: #1521

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant