{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/202","labels_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/202/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/202/events","html_url":"https://github.com/AtomLinter/linter-eslint/issues/202","id":103907900,"number":202,"title":"Indent definition rule not found.","user":{"login":"nwhite89","id":1407863,"avatar_url":"https://avatars.githubusercontent.com/u/1407863?v=3","gravatar_id":"","url":"https://api.github.com/users/nwhite89","html_url":"https://github.com/nwhite89","followers_url":"https://api.github.com/users/nwhite89/followers","following_url":"https://api.github.com/users/nwhite89/following{/other_user}","gists_url":"https://api.github.com/users/nwhite89/gists{/gist_id}","starred_url":"https://api.github.com/users/nwhite89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwhite89/subscriptions","organizations_url":"https://api.github.com/users/nwhite89/orgs","repos_url":"https://api.github.com/users/nwhite89/repos","events_url":"https://api.github.com/users/nwhite89/events{/privacy}","received_events_url":"https://api.github.com/users/nwhite89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-30T08:35:29Z","updated_at":"2015-09-03T03:24:49Z","closed_at":null,"body":"So I'm looking at moving to `ESLint` from `JSHint` & `JSCS`, I'm getting the following error whilst using the `eslint-linter` for Atom and I'm getting an error stating that `indent` isn't an option?\r\n\r\nAny help on this would be greatly appreciated.\r\n\r\nError: \r\n```\r\nDefinition for rule 'indent' was not found.\r\n/Users/nickwhite/.atom/packages/linter-eslint/lib/linter-eslint.coffee:150 Error: Definition for rule 'indent' was not found.\r\n  at /Users/nickwhite/Sites/static_html/node_modules/eslint/lib/eslint.js:591:27\r\n  at Array.forEach (native)\r\n  at EventEmitter.module.exports.api.verify (/Users/nickwhite/Sites/static_html/node_modules/eslint/lib/eslint.js:567:16)\r\n  at /Users/nickwhite/Dropbox/Atom/packages/linter-eslint/lib/linter-eslint.coffee:111:18\r\n  at exports.allowUnsafeNewFunction (/Users/nickwhite/Dropbox/Atom/packages/linter-eslint/node_modules/loophole/lib/loophole.js:25:14)\r\n  at Object.provider.lint (/Users/nickwhite/Dropbox/Atom/packages/linter-eslint/lib/linter-eslint.coffee:109:13)\r\n  at Promise.then._this.emitter.emit.linter (/Users/nickwhite/Dropbox/Atom/packages/linter/lib/linter-registry.coffee:57:22)\r\n  at LinterRegistry.triggerLinter (/Users/nickwhite/Dropbox/Atom/packages/linter/lib/linter-registry.coffee:56:16)\r\n  at /Users/nickwhite/Dropbox/Atom/packages/linter/lib/linter-registry.coffee:50:17\r\n  at Array.map (native)\r\n  at /Users/nickwhite/Dropbox/Atom/packages/linter/lib/linter-registry.coffee:48:27`\r\n```\r\n\r\nMy config file looks like:\r\n```\r\n{\r\n  \"env\": {\r\n    \"browser\": true\r\n  },\r\n  \"globals\": {},\r\n  \"rules\": {\r\n    \"no-debugger\": 0,\r\n    \"no-eval\": 0,\r\n    \"dot-notation\": 0,\r\n    \"eqeqeq\": 0,\r\n    \"indent\": [2, 2, {\r\n        \"VariableDeclarator\": 2,\r\n        \"SwitchCase\": 2\r\n    }],\r\n    \"camelcase\": [\r\n      2,\r\n      {\r\n        \"properties\": \"never\"\r\n      }\r\n    ],\r\n    \"curly\": [\r\n      2,\r\n      \"all\"\r\n    ],\r\n    \"space-return-throw-case\": 0,\r\n    \"space-after-keywords\": [\r\n      2,\r\n      \"always\"\r\n    ],\r\n    \"space-before-blocks\": [\r\n      2,\r\n      \"always\"\r\n    ],\r\n    \"space-before-function-paren\": [\r\n      2,\r\n      \"always\"\r\n    ],\r\n    \"one-var\": [\r\n      2,\r\n      \"never\"\r\n    ],\r\n    \"no-empty\": 2,\r\n    \"array-bracket-spacing\": [\r\n      2,\r\n      \"always\",\r\n      {\r\n        \"singleValue\": true\r\n      }\r\n    ],\r\n    \"space-in-parens\": [\r\n      2,\r\n      \"never\"\r\n    ],\r\n    \"key-spacing\": [\r\n      2,\r\n      {\r\n        \"beforeColon\": false,\r\n        \"afterColon\": true\r\n      }\r\n    ],\r\n    \"comma-style\": [\r\n      2,\r\n      \"first\"\r\n    ],\r\n    \"operator-linebreak\": [\r\n      2,\r\n      \"after\"\r\n    ],\r\n    \"space-infix-ops\": 2,\r\n    \"space-unary-ops\": 2,\r\n    \"no-implicit-coercion\": [\r\n      2,\r\n      {\r\n        \"number\": true,\r\n        \"boolean\": true,\r\n        \"string\": true\r\n      }\r\n    ],\r\n    \"no-with\": 2,\r\n    \"no-multiple-empty-lines\": 2,\r\n    \"linebreak-style\": [\r\n      2,\r\n      \"unix\"\r\n    ],\r\n    \"quotes\": [\r\n      2,\r\n      \"single\"\r\n    ],\r\n    \"no-mixed-spaces-and-tabs\": 2,\r\n    \"no-trailing-spaces\": 2,\r\n    \"comma-dangle\": [\r\n      2,\r\n      \"never\"\r\n    ],\r\n    \"brace-style\": 2,\r\n    \"max-len\": [\r\n      2,\r\n      120\r\n    ],\r\n    \"consistent-this\": [\r\n      2,\r\n      \"$this\"\r\n    ],\r\n    \"yoda\": [\r\n      2,\r\n      \"never\"\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\nESLint version: `v1.3.1`"},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/comments/137316938","html_url":"https://github.com/AtomLinter/linter-eslint/issues/202#issuecomment-137316938","issue_url":"https://api.github.com/repos/AtomLinter/linter-eslint/issues/202","id":137316938,"user":{"login":"maxlapides","id":1874682,"avatar_url":"https://avatars.githubusercontent.com/u/1874682?v=3","gravatar_id":"","url":"https://api.github.com/users/maxlapides","html_url":"https://github.com/maxlapides","followers_url":"https://api.github.com/users/maxlapides/followers","following_url":"https://api.github.com/users/maxlapides/following{/other_user}","gists_url":"https://api.github.com/users/maxlapides/gists{/gist_id}","starred_url":"https://api.github.com/users/maxlapides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxlapides/subscriptions","organizations_url":"https://api.github.com/users/maxlapides/orgs","repos_url":"https://api.github.com/users/maxlapides/repos","events_url":"https://api.github.com/users/maxlapides/events{/privacy}","received_events_url":"https://api.github.com/users/maxlapides/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T03:24:49Z","updated_at":"2015-09-03T03:24:49Z","body":"@IanVS ah yes, I did have an old version of ESLint installed in node_modules in my project. I didn't think to check on that because I had `Use Global Eslint` checked, but after playing with that checkbox a bit more I am realizing it doesn't seem to do anything haha\r\n\r\nforcing an upgrade to the latest ESLint locally solved the problem! thanks!"}}