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

IntelliSense for .eslintrc.js? #394

Closed
mcdado opened this issue Jan 18, 2018 · 1 comment
Closed

IntelliSense for .eslintrc.js? #394

mcdado opened this issue Jan 18, 2018 · 1 comment

Comments

@mcdado
Copy link

mcdado commented Jan 18, 2018

I love the fact that the JSON configuration file gets IntelliSense autocompletion.
I image it must be harder, but would it be possible to add the same support to .eslintrc.js?

My configuration looks something like this:

module.exports = {
  extends: [
    'eslint:recommended',
    // 'airbnb-base'
  ],
  parserOptions: {
    ecmaVersion: 6,
  },
  rules: {
  ""
  }
};

I prefer to use the .js format for various reasons, the fact that it is legal to use comments. I'm not sure it's a thing, but can one use conditionals and other logic in .eslintrc.js? That would make it much more powerful than plain JSON.

See also:
#14
cosmiconfig/cosmiconfig#20

@dbaeumer
Copy link
Member

dbaeumer commented Feb 1, 2018

Dups #124.

@dbaeumer dbaeumer closed this as completed Feb 1, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants