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

Test: assist user in setting up eslint #12601

Closed
1 task done
chrmarti opened this issue Sep 26, 2016 · 1 comment
Closed
1 task done

Test: assist user in setting up eslint #12601

chrmarti opened this issue Sep 26, 2016 · 1 comment

Comments

@chrmarti
Copy link
Collaborator

chrmarti commented Sep 26, 2016

See ESLint extension (see https://github.com/Microsoft/vscode-eslint)

Complexity: 2

Setup:

  • Install eslint-extension@latest
  • create a new workspace and change dir into it
  • npm install eslint
  • open workspace

Test:

  • create JS file with an unused variable.
  • no ESLint error and no window message should appear.
  • the ESLint output channel should contain a message like:
[Warn  - 3:14:29 PM] No ESLint configuration (e.g .eslintrc) found for file: extension.js
File will not be validated. Consider running the 'Create .eslintrc.json file' command.
  • Run F1 > 'Create .eslintrc.json file'
  • Ensure that the JS file is validated and a warning is shown for the unused var.
@octref
Copy link
Contributor

octref commented Sep 27, 2016

Other than #12808 works great!

@octref octref closed this as completed Sep 27, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
@octref octref removed their assignment Sep 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants