{"action":"created","issue":{"url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/1654","repository_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react","labels_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/1654/labels{/name}","comments_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/1654/comments","events_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/1654/events","html_url":"https://github.com/yannickcr/eslint-plugin-react/issues/1654","id":290775318,"node_id":"MDU6SXNzdWUyOTA3NzUzMTg=","number":1654,"title":"jsx-pascal-case warns on valid casing when using non-English characters","user":{"login":"bjornreppen","id":281359,"node_id":"MDQ6VXNlcjI4MTM1OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/281359?v=4","gravatar_id":"","url":"https://api.github.com/users/bjornreppen","html_url":"https://github.com/bjornreppen","followers_url":"https://api.github.com/users/bjornreppen/followers","following_url":"https://api.github.com/users/bjornreppen/following{/other_user}","gists_url":"https://api.github.com/users/bjornreppen/gists{/gist_id}","starred_url":"https://api.github.com/users/bjornreppen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjornreppen/subscriptions","organizations_url":"https://api.github.com/users/bjornreppen/orgs","repos_url":"https://api.github.com/users/bjornreppen/repos","events_url":"https://api.github.com/users/bjornreppen/events{/privacy}","received_events_url":"https://api.github.com/users/bjornreppen/received_events","type":"User","site_admin":false},"labels":[{"id":157842407,"node_id":"MDU6TGFiZWwxNTc4NDI0MDc=","url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/labels/bug","name":"bug","color":"fc2929","default":true},{"id":157842410,"node_id":"MDU6TGFiZWwxNTc4NDI0MTA=","url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-01-23T10:00:01Z","updated_at":"2019-06-18T06:51:55Z","closed_at":null,"author_association":"NONE","body":"This rule only works when strictly using the 26 english characters hard coded in the regex.  \r\n\r\nconst PASCAL_CASE_REGEX = /^([A-Z0-9]|[A-Z0-9]+[a-z0-9]+(?:[A-Z0-9]+[a-z0-9]*)*)$/;\r\n\r\nIn order to support all cased languages, how do you feel about modifying the casing check for example using a technique similar to this (to detect letters):\r\n\r\n```\r\nfunction isLetter(c) {\r\n  return c.toLowerCase() != c.toUpperCase();\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/comments/502972086","html_url":"https://github.com/yannickcr/eslint-plugin-react/issues/1654#issuecomment-502972086","issue_url":"https://api.github.com/repos/yannickcr/eslint-plugin-react/issues/1654","id":502972086,"node_id":"MDEyOklzc3VlQ29tbWVudDUwMjk3MjA4Ng==","user":{"login":"LarsAndreasNav","id":36694755,"node_id":"MDQ6VXNlcjM2Njk0NzU1","avatar_url":"https://avatars0.githubusercontent.com/u/36694755?v=4","gravatar_id":"","url":"https://api.github.com/users/LarsAndreasNav","html_url":"https://github.com/LarsAndreasNav","followers_url":"https://api.github.com/users/LarsAndreasNav/followers","following_url":"https://api.github.com/users/LarsAndreasNav/following{/other_user}","gists_url":"https://api.github.com/users/LarsAndreasNav/gists{/gist_id}","starred_url":"https://api.github.com/users/LarsAndreasNav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LarsAndreasNav/subscriptions","organizations_url":"https://api.github.com/users/LarsAndreasNav/orgs","repos_url":"https://api.github.com/users/LarsAndreasNav/repos","events_url":"https://api.github.com/users/LarsAndreasNav/events{/privacy}","received_events_url":"https://api.github.com/users/LarsAndreasNav/received_events","type":"User","site_admin":false},"created_at":"2019-06-18T06:51:55Z","updated_at":"2019-06-18T06:51:55Z","author_association":"NONE","body":"Any update on this? Our component \"Flervalgsspørsmål\" fails this rule."}}
{"actor":{"display_login":"LarsAndreasNav"}}