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

package.json and .eslintrc ignored #233

Open
mercmobily opened this issue Sep 5, 2019 · 1 comment
Open

package.json and .eslintrc ignored #233

mercmobily opened this issue Sep 5, 2019 · 1 comment

Comments

@mercmobily
Copy link

Hi,

Sorry if this is not the right repository for this report.
I installed the linter in atom as a dependency of linter-js-standard. I added this to my package.json:

  "eslintConfig": {
    "parserOptions": {
      "ecmaVersion": 6
    },
    "rules": {
      "no-var": "error"
    }
  }

However, no matter what I do, I just can't get any of the rules I set here to apply.
I also tried to create a .eslintrc file in my project root -- no luck.

Am I missing something?

@sonicdoe
Copy link
Collaborator

sonicdoe commented Sep 6, 2019

This Atom package only lints JavaScript Standard Style but not any custom ESLint rules. If you’d like to change standard’s ESLint ruleset, your best option is probably to use eslint-config-standard and install linter-eslint for Atom. See also I disagree with rule X, can you change it?

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

No branches or pull requests

2 participants