Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

eslint.json plugin not working #18

Open
pkristoff opened this issue Jun 16, 2016 · 1 comment
Open

eslint.json plugin not working #18

pkristoff opened this issue Jun 16, 2016 · 1 comment

Comments

@pkristoff
Copy link

pkristoff commented Jun 16, 2016

I created a local plugin and included it in the config/eslint.json file.

When I run Eslintrb.lint(source, :eslintrc) i get

high pattern/return-object-only Definition for rule 'pattern/return-object-only' was not found

{
  "extends": [
    "eslint:recommended"
  ],
  "plugins": [
      "pattern"
  ],
  "env": {
    "browser": true,
    "node": true
  },
  "globals": {
    "angular": true,
    "$": true
  },
  "rules": {
    "pattern/return-object-only" : 2,
    "comma-dangle": [
      "error",
      "never"
    ],
    "no-console": "off",
    "no-unused-vars": ["error", { "vars": "all", "args": "none" }],
    "quote-props": ["error", "as-needed"],
    "quotes": [
      2,
      "single", {"avoidEscape": true, "allowTemplateLiterals": true}
    ],
    "semi": [
      "error",
      "always"
    ]
  }
}
@dkniffin
Copy link
Contributor

dkniffin commented Sep 7, 2016

Not 100% sure, but I think this might be addressed by the PR I just made (#23)

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