{"id":19339422,"url":"https://github.com/appfolio/ruby_css_lint","last_synced_at":"2025-04-23T02:30:45.695Z","repository":{"id":3664979,"uuid":"4733772","full_name":"appfolio/ruby_css_lint","owner":"appfolio","description":"Ruby repackaging of CSS Lint","archived":false,"fork":false,"pushed_at":"2022-02-08T22:06:46.000Z","size":1234,"stargazers_count":3,"open_issues_count":1,"forks_count":5,"subscribers_count":150,"default_branch":"master","last_synced_at":"2025-04-02T06:43:05.555Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appfolio.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-06-21T02:02:23.000Z","updated_at":"2022-02-08T22:06:43.000Z","dependencies_parsed_at":"2022-08-19T02:40:49.727Z","dependency_job_id":null,"html_url":"https://github.com/appfolio/ruby_css_lint","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfolio%2Fruby_css_lint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfolio%2Fruby_css_lint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfolio%2Fruby_css_lint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfolio%2Fruby_css_lint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appfolio","download_url":"https://codeload.github.com/appfolio/ruby_css_lint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250357547,"owners_count":21417303,"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-11-10T03:22:04.063Z","updated_at":"2025-04-23T02:30:45.078Z","avatar_url":"https://github.com/appfolio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"= ruby_css_lint\n\nA repackaging of [CSS Lint](https://github.com/stubbornella/csslint) for use with Rails.\n\nIf you're using Rails 3.1, you probably want to run css lint on your precompiled assets.  Compile them:\n  rake assets:precompile\n\n\nTo install Ruby CSS Lint, Add it to your gemfile\n  gem 'ruby_css_lint'\n\nAnd after a bundle install, run it:\n  rake css_lint:run\n\n\nYou probably want more control over things, so generate a config file:\n  rake css_lint:generate_config\n\nYou will find the config file at config/initializers/css_lint.rb.\n\nYou can control the behavior of Ruby CSS Lint by modifying the implementation of the methods RubyCssLint::location_of_css_files, RubyCssLint::location_of_custom_rules and  RubyCssLint::ruleset_classifications.\n\n  module RubyCssLint\n    def self.ruleset_classifications\n      {\n        \"floats\" =\u003e RubyCssLint::WARNING,\n      }\n    end\n  \n    def self.location_of_custom_rules(rails_root)\n      [\"#{rails_root.to_s}/test/css_lint/*.js\"]\n    end\n  \n    def self.location_of_css_files(rails_root)\n      [rails_root.to_s+\"/public/assets/application.css\"]\n    end\n  end\n  \n\n== Copyright\n\nCopyright (c) 2012 AppFolio, inc. See LICENSE.txt for\nfurther details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappfolio%2Fruby_css_lint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappfolio%2Fruby_css_lint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappfolio%2Fruby_css_lint/lists"}