{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/11209","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/11209/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/11209/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/11209/events","html_url":"https://github.com/eslint/eslint/issues/11209","id":394117224,"node_id":"MDU6SXNzdWUzOTQxMTcyMjQ=","number":11209,"title":"[semi] require semicolons doesn't work","user":{"login":"wuliqiangqiang","id":16221367,"node_id":"MDQ6VXNlcjE2MjIxMzY3","avatar_url":"https://avatars1.githubusercontent.com/u/16221367?v=4","gravatar_id":"","url":"https://api.github.com/users/wuliqiangqiang","html_url":"https://github.com/wuliqiangqiang","followers_url":"https://api.github.com/users/wuliqiangqiang/followers","following_url":"https://api.github.com/users/wuliqiangqiang/following{/other_user}","gists_url":"https://api.github.com/users/wuliqiangqiang/gists{/gist_id}","starred_url":"https://api.github.com/users/wuliqiangqiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wuliqiangqiang/subscriptions","organizations_url":"https://api.github.com/users/wuliqiangqiang/orgs","repos_url":"https://api.github.com/users/wuliqiangqiang/repos","events_url":"https://api.github.com/users/wuliqiangqiang/events{/privacy}","received_events_url":"https://api.github.com/users/wuliqiangqiang/received_events","type":"User","site_admin":false},"labels":[{"id":246711855,"node_id":"MDU6TGFiZWwyNDY3MTE4NTU=","url":"https://api.github.com/repos/eslint/eslint/labels/question","name":"question","color":"d4c5f9","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-12-26T08:46:45Z","updated_at":"2018-12-28T12:03:09Z","closed_at":null,"author_association":"NONE","body":"```js\r\nmodule.exports = {\r\n  root: true,\r\n  parserOptions: {\r\n    \"sourceType\": \"module\",\r\n  },\r\n  env: {\r\n    \"browser\": true,\r\n    \"commonjs\": true,\r\n    \"node\": true,\r\n    \"es6\": true\r\n  },\r\n  extends: \"eslint:recommended\",\r\n  plugins: [\r\n    'html'\r\n  ],\r\n  rules: {\r\n    \"no-console\": \"off\",\r\n    \"semi\": [\"error\", \"always\"],\r\n    \"curly\": \"error\",\r\n    \"no-redeclare\":\"error\",\r\n    \"strict\": 2,\r\n  }\r\n};\r\n```\r\nit is my .eslintrc.js setting with the webpack4 \r\n```js\r\n{\r\n        enforce: 'pre',\r\n        test: /\\.(js|jsx)$/,\r\n        exclude: /node_modules/,\r\n        use: {\r\n          loader: 'eslint-loader',\r\n          options: {\r\n            fix: true,\r\n            formatter: require('eslint-friendly-formatter')\r\n          }\r\n        },\r\n      },\r\n```\r\nit is my webpack's loader eslint-loader setting\r\n\r\njust the semi function doesn't work. Becuase it hasn't any tip from the shell about the sime function ,  others function is success\r\n\r\nthe shell tips:\r\n```shell\r\nERROR in ./src/pages/test/child_test2/js/child_test2.js\r\nModule Error (from ./node_modules/_eslint-loader@2.1.1@eslint-loader/index.js):\r\n\r\n  ✘  http://eslint.org/docs/rules/no-undef  'c' is not defined\r\n  src/pages/test/child_test2/js/child_test2.js:19:3\r\n\r\n\r\n\r\n✘ 1 problem (1 error, 0 warnings)\r\n\r\n\r\nErrors:\r\n  1  http://eslint.org/docs/rules/no-undef\r\n\r\n```\r\n\r\nthe child_test2.js file content\r\n```js\r\nvar aa = 1\r\nif (aa) {\r\n  a()\r\n  b()\r\n  c()\r\n}\r\nfunction a(){\r\n  var v =1\r\n  console.log(v)\r\n}\r\nfunction b(){\r\n  var vv =1\r\n  console.log(vv)\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/450348961","html_url":"https://github.com/eslint/eslint/issues/11209#issuecomment-450348961","issue_url":"https://api.github.com/repos/eslint/eslint/issues/11209","id":450348961,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDM0ODk2MQ==","user":{"login":"mysticatea","id":1937871,"node_id":"MDQ6VXNlcjE5Mzc4NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/1937871?v=4","gravatar_id":"","url":"https://api.github.com/users/mysticatea","html_url":"https://github.com/mysticatea","followers_url":"https://api.github.com/users/mysticatea/followers","following_url":"https://api.github.com/users/mysticatea/following{/other_user}","gists_url":"https://api.github.com/users/mysticatea/gists{/gist_id}","starred_url":"https://api.github.com/users/mysticatea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mysticatea/subscriptions","organizations_url":"https://api.github.com/users/mysticatea/orgs","repos_url":"https://api.github.com/users/mysticatea/repos","events_url":"https://api.github.com/users/mysticatea/events{/privacy}","received_events_url":"https://api.github.com/users/mysticatea/received_events","type":"User","site_admin":false},"created_at":"2018-12-28T12:03:09Z","updated_at":"2018-12-28T12:03:09Z","author_association":"MEMBER","body":"What does it happen if you remove `fix: true` from your webpack config?"}}
{"actor":{"display_login":"mysticatea"}}