{"id":19195609,"url":"https://github.com/akashanand708/python-script","last_synced_at":"2026-04-11T17:40:59.785Z","repository":{"id":143989220,"uuid":"280441225","full_name":"akashanand708/Python-Script","owner":"akashanand708","description":"Python script to run your linter for your only changed javascript, typescript and ruby files.","archived":false,"fork":false,"pushed_at":"2020-07-17T15:08:46.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T04:41:51.048Z","etag":null,"topics":["git-status","python","python-script","python3","ruby-on-rails","typescript"],"latest_commit_sha":null,"homepage":"","language":"Python","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/akashanand708.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-17T14:10:30.000Z","updated_at":"2023-03-08T19:55:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"792845b4-646b-45d3-a15e-bedd34847703","html_url":"https://github.com/akashanand708/Python-Script","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akashanand708/Python-Script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akashanand708%2FPython-Script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akashanand708%2FPython-Script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akashanand708%2FPython-Script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akashanand708%2FPython-Script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akashanand708","download_url":"https://codeload.github.com/akashanand708/Python-Script/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akashanand708%2FPython-Script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31689762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["git-status","python","python-script","python3","ruby-on-rails","typescript"],"created_at":"2024-11-09T12:10:54.099Z","updated_at":"2026-04-11T17:40:59.768Z","avatar_url":"https://github.com/akashanand708.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lint your js/ts/rb files using Python script \n\nPython script to run your linter for your only changed javascript, typescript and ruby files.\n\n## Note: Anyone can modify this file to use it for own purpose.\n\n## Problem statement:\n##### Traditional way of linting our changed files\nWe add some script tag in **package.json** like\n```sh\n\"lint:server\": \"eslint 'app/server/**/*.js' 'app/server/**/*.ts' 'app/server/**/*.tsx'\"\n```\nand we run \n```sh\nyarn lint:server\n```\nfrom root of our project where **package.json** lies.\n\nSuppose, we are working in a code base connected to **github**, when we **modify** many files and add **new files** to our code base, let's say **10 or 20 files**.\nwe want to run our linter \n```sh\n(yarn eslint or BE linter command )\n```\nonly for **changed files**, not for **all file**.\nIt will not be optimised way to use \n```sh\nyarn lint:server\n```\nevery time though we have only small number of changed files.\n\n\n\n### Steps to use\n1. Make sure we have python installed.\n2. Go to the root of the project.\n3. Add all the untracked files into git, which you want to commit.\n4. nvm use **\u003c**node version**\u003e** **(if you are using nvm to switch to your node versions for your project or skip this)**\n4. python3 BE_FE_Linter.py **or** python BE_FE_Linter.py\n\n## Gif\n![Alt Text](http://g.recordit.co/Fh8dZ7bDCH.gif)\n\nLicense\n----\n\nMIT\n\n\n**Free script, Hell Yeah!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakashanand708%2Fpython-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakashanand708%2Fpython-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakashanand708%2Fpython-script/lists"}