{"id":16736256,"url":"https://github.com/flexdinesh/cra-babel-eslint","last_synced_at":"2025-06-23T19:06:17.651Z","repository":{"id":51579089,"uuid":"219150198","full_name":"flexdinesh/cra-babel-eslint","owner":"flexdinesh","description":"Example babel transform and eslint plugins demo for my talk at React Sydney on Nov 4, 2019.","archived":false,"fork":false,"pushed_at":"2021-05-11T06:53:49.000Z","size":2048,"stargazers_count":0,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T21:15:46.093Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flexdinesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-02T12:24:14.000Z","updated_at":"2019-11-30T02:57:22.000Z","dependencies_parsed_at":"2022-08-21T19:40:17.636Z","dependency_job_id":null,"html_url":"https://github.com/flexdinesh/cra-babel-eslint","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flexdinesh/cra-babel-eslint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexdinesh%2Fcra-babel-eslint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexdinesh%2Fcra-babel-eslint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexdinesh%2Fcra-babel-eslint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexdinesh%2Fcra-babel-eslint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flexdinesh","download_url":"https://codeload.github.com/flexdinesh/cra-babel-eslint/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexdinesh%2Fcra-babel-eslint/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261539318,"owners_count":23174136,"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-10-13T00:08:50.340Z","updated_at":"2025-06-23T19:06:17.619Z","avatar_url":"https://github.com/flexdinesh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CRA babel-eslint\n\nExample babel transform and eslint plugins developed for my talk at React Sydney on Nov 4, 2019.\n\n## Installation\n\n### babel transform plugins\n\nImport and add the plugins to babel config.\n\n.babelrc.js\n\n```js\nconst babelTransformLogRender = require(\"./plugins/babel-transform-log-render\");\nconst babelTransformLogStateChange = require(\"./plugins/babel-transform-log-state-change\");\n\nmodule.exports = {\n  presets: [\"react-app\"],\n  plugins: [babelTransformLogRender, babelTransformLogStateChange] // plugin goes here\n};\n```\n\n### esling plugins\n\nInstall the plugin locally in destination project by using the right local path:\n\n```\n$ yarn add ../eslint-plugin-dinesh-says-no --dev\n```\n\nAdd `dinesh-says-no` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n  \"plugins\": [\"dinesh-says-no\"]\n}\n```\n\nThen configure the rules you want to use under the rules section.\n\n```json\n{\n  \"rules\": {\n    \"dinesh-says-no/no-cats\": \"error\"\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflexdinesh%2Fcra-babel-eslint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflexdinesh%2Fcra-babel-eslint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflexdinesh%2Fcra-babel-eslint/lists"}