ricardofbarros / linter-js-standard

Atom linter plugin for JavaScript, using JavaScript Standard Style
https://atom.io/packages/linter-js-standard
MIT License
99 stars 48 forks source link

package.json and .eslintrc ignored #233

Open mercmobily opened 5 years ago

mercmobily commented 5 years ago

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 commented 5 years ago

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?