{"id":23284961,"url":"https://github.com/divyagnan/eslint-plugin-inline-styles","last_synced_at":"2026-04-12T22:46:06.022Z","repository":{"id":57108659,"uuid":"95608981","full_name":"divyagnan/eslint-plugin-inline-styles","owner":"divyagnan","description":"Eslint rules surrounding the use of inline-styles.","archived":false,"fork":false,"pushed_at":"2017-07-05T22:36:49.000Z","size":71,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-05T20:55:10.434Z","etag":null,"topics":["eslint-plugin","eslint-rules","inline-styles","units"],"latest_commit_sha":null,"homepage":"","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/divyagnan.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":"2017-06-27T23:22:02.000Z","updated_at":"2019-11-29T22:35:38.000Z","dependencies_parsed_at":"2022-08-21T04:30:43.310Z","dependency_job_id":null,"html_url":"https://github.com/divyagnan/eslint-plugin-inline-styles","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/divyagnan/eslint-plugin-inline-styles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyagnan%2Feslint-plugin-inline-styles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyagnan%2Feslint-plugin-inline-styles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyagnan%2Feslint-plugin-inline-styles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyagnan%2Feslint-plugin-inline-styles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divyagnan","download_url":"https://codeload.github.com/divyagnan/eslint-plugin-inline-styles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyagnan%2Feslint-plugin-inline-styles/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268329368,"owners_count":24233031,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["eslint-plugin","eslint-rules","inline-styles","units"],"created_at":"2024-12-20T01:51:11.965Z","updated_at":"2026-04-12T22:46:00.955Z","avatar_url":"https://github.com/divyagnan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @divyagnan/eslint-plugin-inline-styles [![npm version](https://badge.fury.io/js/%40divyagnan%2Feslint-plugin-inline-styles.svg)](https://badge.fury.io/js/%40divyagnan%2Feslint-plugin-inline-styles) [![Build Status](https://travis-ci.org/divyagnan/eslint-plugin-inline-styles.svg?branch=master)](https://travis-ci.org/divyagnan/eslint-plugin-inline-styles)\n\nA collection of Eslint rules surrounding the use of inline-styles.\n\n## Installation\n\nYou'll first need to install [ESLint](http://eslint.org):\n\n```\n$ npm i eslint --save-dev\n```\n\nNext, install `@divyagnan/eslint-plugin-inline-styles`:\n\n```\n$ npm install @divyagnan/eslint-plugin-inline-styles --save-dev\n```\n\n**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `@divyagnan/eslint-plugin-inline-styles` globally.\n\n## Usage\n\nAdd `@divyagnan/inline-styles` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:\n\n```json\n{\n    \"plugins\": [\n        \"@divyagnan/inline-styles\"\n    ]\n}\n```\n\n\nThen configure the rules you want to use under the rules section.\n\n```json\n{\n    \"rules\": {\n        \"@divyagnan/inline-styles/units\": 2\n    }\n}\n```\n\n## Supported Rules\n\n* [units](docs/rules/units.md) - Checks inline styles for units \n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivyagnan%2Feslint-plugin-inline-styles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivyagnan%2Feslint-plugin-inline-styles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivyagnan%2Feslint-plugin-inline-styles/lists"}