{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/7762","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/7762/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/7762/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/7762/events","html_url":"https://github.com/eslint/eslint/issues/7762","id":195432674,"number":7762,"title":"Error: duplicated mapping key ","user":{"login":"shivanigandhi2","id":24559078,"avatar_url":"https://avatars.githubusercontent.com/u/24559078?v=3","gravatar_id":"","url":"https://api.github.com/users/shivanigandhi2","html_url":"https://github.com/shivanigandhi2","followers_url":"https://api.github.com/users/shivanigandhi2/followers","following_url":"https://api.github.com/users/shivanigandhi2/following{/other_user}","gists_url":"https://api.github.com/users/shivanigandhi2/gists{/gist_id}","starred_url":"https://api.github.com/users/shivanigandhi2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shivanigandhi2/subscriptions","organizations_url":"https://api.github.com/users/shivanigandhi2/orgs","repos_url":"https://api.github.com/users/shivanigandhi2/repos","events_url":"https://api.github.com/users/shivanigandhi2/events{/privacy}","received_events_url":"https://api.github.com/users/shivanigandhi2/received_events","type":"User","site_admin":false},"labels":[{"id":45711354,"url":"https://api.github.com/repos/eslint/eslint/labels/triage","name":"triage","color":"cc317c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-14T03:39:33Z","updated_at":"2016-12-14T04:32:34Z","closed_at":null,"body":"<!--\r\nThis template is for bug reports. If you are reporting a bug, please continue on. If you are here for another reason, please see below:\r\n\r\n1. To propose a new rule: http://eslint.org/docs/developer-guide/contributing/new-rules\r\n2. To request a change: http://eslint.org/docs/developer-guide/contributing/changes\r\n3. If you have any questions, please stop by our chatroom: https://gitter.im/eslint/eslint\r\n\r\nNote that leaving sections blank will make it difficult for us to troubleshoot and we may have to close the issue.\r\n-->\r\n\r\n**Tell us about your environment**\r\n\r\n* **ESLint Version:**swagger: '2.0'\r\n* **Node Version:**\r\n* **npm Version:**\r\n\r\n**What parser (default, Babel-ESLint, etc.) are you using?** \r\ndefault\r\n\r\n**Please show your full configuration:**\r\n\r\n \r\n\r\n\r\n\r\n```\r\n\r\n**What did you do? Please include the actual source code causing the issue.**\r\n\r\n<!-- Paste the source code below: -->\r\n /v1/qff/join:\r\n    post:\r\n      tags:\r\n        - Qantas Frequent Flyer\r\n        - CMDM\r\n        - QANTAS\r\n        - CLCS\r\n        - LMS\r\n        - WebMethods\r\n      summary: Join Qantas Frequent Flyer Membership from Woolworths Rewards Support Portal.\r\n      description: Returns a Qantas Frequent Flyer Membership number.\r\n      consumes:\r\n        - application/json\r\n      produces:\r\n        - application/json\r\n      parameters:\r\n        - in: header\r\n          name: client_id\r\n          type: string\r\n        - in: header\r\n          name: Authorization\r\n          type: string\r\n        - in: body\r\n          name: body\r\n          schema:\r\n            $ref: \"#/definitions/QffJoinRequest\"\r\n      responses:\r\n        200:\r\n          description: OK\r\n          schema:\r\n            $ref: \"#/definitions/QffJoinResponse\"\r\n  /v1/qff/link:\r\n    post:\r\n      tags:\r\n        - Qantas Frequent Flyer\r\n      summary: Link an existing Qantas Frequent Flyer membership number from Woolworths Rewards Support Portal\r\n      consumes:\r\n        - application/json\r\n      produces:\r\n        - application/json\r\n      parameters:\r\n        - in: header\r\n          name: client_id\r\n          type: string\r\n        - in: header\r\n          name: Authorization\r\n          type: string\r\n        - in: body\r\n          name: body\r\n          schema:\r\n            $ref: \"#/definitions/QffLinkRequest\"\r\n      responses:\r\n        200:\r\n          description: OK\r\n          schema:\r\n            $ref: \"#/definitions/QffLinkResponse\"\r\n  /v1/qff/unlink:\r\n    post:\r\n      tags:\r\n        - Qantas Frequent Flyer\r\n      summary: Unlink a currently linked Qantas Frequent Flyer membership card from Woolworths Rewards Support Portal\r\n      consumes:\r\n        - application/json\r\n      produces:\r\n        - application/json\r\n      parameters:\r\n        - in: header\r\n          name: client_id\r\n          type: string\r\n        - in: header\r\n          name: Authorization\r\n          type: string\r\n        - in: body\r\n          name: body\r\n          schema:\r\n            $ref: \"#/definitions/QffUnlinkRequest\"\r\n      responses:\r\n        200:\r\n          description: OK\r\n          schema:\r\n            $ref: \"#/definitions/QffUnlinkResponse\"\r\ndefinitions:\r\n\r\n  QffJoinRequest:\r\n    type: object\r\n    properties:\r\n      qfflinkingData:\r\n        type: object\r\n        properties:\r\n          firstName:\r\n            type: string\r\n          lastName:\r\n            type: string\r\n          gender:\r\n            type: string\r\n          mothersMaidenName:\r\n            type: string\r\n          qffJoinTerms:\r\n            type: boolean\r\n          title:\r\n            type: string\r\n          linkJoinIndicator:\r\n            type: integer\r\n      #    newEDRFlag:\r\n      #      type: string\r\n       #   crn:\r\n       #     type: string\r\n        #  edr:\r\n        #    type: string\r\n          email:\r\n            type: string\r\n          mailingAddress:\r\n            $ref: \"#/definitions/Address\"\r\n          dob:\r\n            type: string\r\n          mobilePhone:\r\n            type: string\r\n          preferredPhone:\r\n            type: string\r\n  QffJoinResponse:\r\n    type: object\r\n    properties:\r\n      status:\r\n        type: string\r\n      data:\r\n        type: object\r\n        properties:\r\n          qff:\r\n            type: string          \r\n  QffLinkRequest:\r\n    type: object\r\n    properties:\r\n      qfflinkingData:\r\n        type: object\r\n        properties:\r\n          firstName:\r\n            type: string\r\n          lastName:\r\n            type: string\r\n          gender:\r\n            type: string\r\n          qffMembershipNo:\r\n            type: string\r\n          qffLinkTerms:\r\n            type: boolean\r\n          linkJoinIndicator:\r\n            type: string\r\n          newEDRFlag:\r\n            type: string\r\n          crn:\r\n            type: string\r\n          edr:\r\n            type: string\r\n  QffLinkResponse:\r\n    type: object\r\n    properties:\r\n      status:\r\n        type: string\r\n      data:\r\n        type: object\r\n        properties:\r\n          qff:\r\n            type: string          \r\n  QffUnlinkRequest:\r\n    type: object\r\n    properties:\r\n      qffUnlinkingData:\r\n        type: object\r\n        properties:\r\n          crn:\r\n            type: string\r\n          edr:\r\n            type: string\r\n          qff:\r\n            type: string\r\n          qffReferenceNo:\r\n            type: string\r\n  QffUnlinkResponse:\r\n    type: object\r\n    properties:\r\n      status:\r\n        type: string\r\n      data:\r\n        type: object\r\n        properties:\r\n          qff:\r\n            type: string\r\n  Address:\r\n    type: object\r\n    properties:\r\n      country:\r\n        type: object\r\n        properties:\r\n          code:\r\n            type: string\r\n          value:\r\n            type: string\r\n      customerAddressId:\r\n        type: string\r\n      addressId:\r\n        type: string\r\n      state:\r\n        type: object\r\n        properties:\r\n          code:\r\n            type: string\r\n          value:\r\n            type: string\r\n      unitNumber:\r\n        type: string\r\n      streetNumber:\r\n        type: string\r\n      propertyName:\r\n        type: string\r\n      poBoxType:\r\n        type: object\r\n        properties:\r\n          code:\r\n            type: string\r\n          value:\r\n            type: string\r\n      streetName:\r\n        type: string\r\n      streetType:\r\n        type: string\r\n      suburb:\r\n        type: string\r\n      postCode:\r\n        type: string\r\n      dpid:\r\n        type: string\r\n      latitude:\r\n        type: string\r\n      longitude:\r\n        type: string\r\n      nonDeliverable:\r\n        type: boolean\r\n      singleLineAddress:\r\n        type: string\r\n      adjustedAddressLine1:\r\n        type: string\r\n      adjustedAddressLine2:\r\n        type: string\r\n      searchMode:\r\n        type: string\r\n\r\n\r\n```\r\n\r\n**What did you expect to happen?**\r\nI am new to programming. I went through the code but could not find a duplication at like 159.\r\nThe error message I am receiving is: YAMLException:\r\nduplicated mapping key at line 159, column 1: definitions: ^\r\nPlease help.\r\n**What actually happened? Please include the actual, raw output from ESLint.**\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/266940175","html_url":"https://github.com/eslint/eslint/issues/7762#issuecomment-266940175","issue_url":"https://api.github.com/repos/eslint/eslint/issues/7762","id":266940175,"user":{"login":"platinumazure","id":284282,"avatar_url":"https://avatars.githubusercontent.com/u/284282?v=3","gravatar_id":"","url":"https://api.github.com/users/platinumazure","html_url":"https://github.com/platinumazure","followers_url":"https://api.github.com/users/platinumazure/followers","following_url":"https://api.github.com/users/platinumazure/following{/other_user}","gists_url":"https://api.github.com/users/platinumazure/gists{/gist_id}","starred_url":"https://api.github.com/users/platinumazure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/platinumazure/subscriptions","organizations_url":"https://api.github.com/users/platinumazure/orgs","repos_url":"https://api.github.com/users/platinumazure/repos","events_url":"https://api.github.com/users/platinumazure/events{/privacy}","received_events_url":"https://api.github.com/users/platinumazure/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T04:32:34Z","updated_at":"2016-12-14T04:32:34Z","body":"@shivanigandhi2 Do you have a file called `.eslintrc.yml` (or similar) in your root project directory? (Even something like `.eslintrc.json` would be okay.) We just need the contents of that file. The XML you've given us is not related to ESLint, so we can't use it to help you. :smile:"}}
{"actor":{"display_login":"platinumazure"}}