{"action":"closed","issue":{"url":"https://api.github.com/repos/babel/babel-eslint/issues/315","repository_url":"https://api.github.com/repos/babel/babel-eslint","labels_url":"https://api.github.com/repos/babel/babel-eslint/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel-eslint/issues/315/comments","events_url":"https://api.github.com/repos/babel/babel-eslint/issues/315/events","html_url":"https://github.com/babel/babel-eslint/issues/315","id":157042384,"number":315,"title":"static class properties false positive","user":{"login":"sevenfoxes","id":809000,"avatar_url":"https://avatars.githubusercontent.com/u/809000?v=3","gravatar_id":"","url":"https://api.github.com/users/sevenfoxes","html_url":"https://github.com/sevenfoxes","followers_url":"https://api.github.com/users/sevenfoxes/followers","following_url":"https://api.github.com/users/sevenfoxes/following{/other_user}","gists_url":"https://api.github.com/users/sevenfoxes/gists{/gist_id}","starred_url":"https://api.github.com/users/sevenfoxes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sevenfoxes/subscriptions","organizations_url":"https://api.github.com/users/sevenfoxes/orgs","repos_url":"https://api.github.com/users/sevenfoxes/repos","events_url":"https://api.github.com/users/sevenfoxes/events{/privacy}","received_events_url":"https://api.github.com/users/sevenfoxes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-26T17:58:01Z","updated_at":"2016-05-27T14:22:13Z","closed_at":"2016-05-27T14:22:13Z","body":"I've done quite a bit of googling on this, I'm trying to write a react component and babel-eslint does NOT like static class properties. I'm about 70% sure I've just misconfigured the .eslintrc file....\r\n\r\n![screen shot 2016-05-26 at 10 54 20 am](https://cloud.githubusercontent.com/assets/809000/15584572/cd64384a-2340-11e6-94c2-169f0af3cf9b.png)\r\n\r\n```bash\r\n$ npm run lint\r\n\r\n> billistic@1.0.0 lint ~/personal_repos/billistic\r\n> eslint ./public/src/components/glyph\r\n\r\n~/personal_repos/billistic/public/src/components/glyph/index.js\r\n  4:23  error  Parsing error: Unexpected token =\r\n\r\n✖ 1 problem (1 error, 0 warnings)\r\n\r\n\r\nnpm ERR! Darwin 15.5.0\r\nnpm ERR! argv \"~/.nvm/versions/node/v5.11.0/bin/node\" \"~/.nvm/versions/node/v5.11.0/bin/npm\" \"run\" \"lint\"\r\nnpm ERR! node v5.11.0\r\nnpm ERR! npm  v3.8.6\r\n```\r\n\r\n.eslintrc\r\n```yaml\r\n---\r\nextends: eslint-config-airbnb\r\nenv:\r\n  browser: true\r\n  node: true\r\n  mocha: true\r\n\r\nparserOptions:\r\n  ecmaVersion: 7\r\n\r\nrules:\r\n  react/no-multi-comp: 0\r\n  react/contextTypes: 1\r\n  import/default: 0\r\n  import/no-duplicates: 0\r\n  import/named: 0\r\n  import/namespace: 0\r\n  import/no-unresolved: 0\r\n  import/no-named-as-default: 2\r\n  comma-dangle: 0\r\n  indent:\r\n  - 2\r\n  - 2\r\n  - SwitchCase: 1\r\n  no-console: 0\r\n  no-alert: 0\r\n\r\nplugins:\r\n  - react\r\n  - import\r\n\r\nsettings:\r\n  import/parser: babel-eslint\r\n  import/resolve:\r\n    moduleDirectory:\r\n    - node_modules\r\n    - src\r\n\r\nglobals:\r\n  __DEVELOPMENT__: true\r\n  __CLIENT__: true\r\n  __SERVER__: true\r\n  __DISABLE_SSR__: true\r\n  __DEVTOOLS__: true\r\n  socket: true\r\n  webpackIsomorphicTools: true\r\n```\r\n\r\n.babelrc\r\n```\r\n{\r\n  \"presets\": [\"react\", \"es2015\", \"stage-1\"]\r\n}\r\n````"}}
{"actor":{"display_login":"sevenfoxes"}}