{"id":15287158,"url":"https://github.com/hjxenjoy/eslint-config-react-jsone","last_synced_at":"2026-05-09T10:43:14.279Z","repository":{"id":57229023,"uuid":"215704080","full_name":"hjxenjoy/eslint-config-react-jsone","owner":"hjxenjoy","description":"react app eslint config for js","archived":false,"fork":false,"pushed_at":"2020-05-07T11:19:16.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T08:44:23.398Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hjxenjoy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-17T04:36:12.000Z","updated_at":"2020-05-07T11:19:19.000Z","dependencies_parsed_at":"2022-09-08T17:11:43.028Z","dependency_job_id":null,"html_url":"https://github.com/hjxenjoy/eslint-config-react-jsone","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjxenjoy%2Feslint-config-react-jsone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjxenjoy%2Feslint-config-react-jsone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjxenjoy%2Feslint-config-react-jsone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hjxenjoy%2Feslint-config-react-jsone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hjxenjoy","download_url":"https://codeload.github.com/hjxenjoy/eslint-config-react-jsone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245200677,"owners_count":20576673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-30T15:25:17.799Z","updated_at":"2026-05-09T10:43:09.260Z","avatar_url":"https://github.com/hjxenjoy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eslint-config-react-jsone\n\neslint config for create-react-app\n\n## Installation\n\n```sh\nnpm install --save-dev eslint-config-react-jsone\nyarn add -D eslint-config-react-jsone\n```\n\n## Configuration\n\n### Add eslint config file\n\n1. remove eslintConfig in `package.json`\n2. create `.eslintrc` file in root directory\n\n```json\n{\n  \"extends\": \"react-jsone\"\n}\n```\n\n### Add prettier config file\n\ncreate `.prettierrc` file into root directory\n\n```json\n{\n  \"printWidth\": 80,\n  \"tabWidth\": 2,\n  \"useTabs\": false,\n  \"singleQuote\": true,\n  \"semi\": false,\n  \"trailingComma\": \"es5\",\n  \"bracketSpacing\": true,\n  \"arrowParens\": \"avoid\",\n  \"endOfLine\": \"auto\",\n  \"overrides\": [\n    {\n      \"files\": [\"*.css\", \"*.less\", \"*.scss\"],\n      \"options\": {\n        \"singleQuote\": false\n      }\n    }\n  ]\n}\n```\n\n### Add eslint autoFixOnSave\n\nAdd code below into `.vscode/settings.json`\n\n```json\n{\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": true\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhjxenjoy%2Feslint-config-react-jsone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhjxenjoy%2Feslint-config-react-jsone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhjxenjoy%2Feslint-config-react-jsone/lists"}