Coder Social home page Coder Social logo

loremaster / codeclimate-stylelint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gilbarbara/codeclimate-stylelint

0.0 2.0 0.0 181 KB

A Code Climate engine for the mighty, modern CSS linter

Makefile 0.35% JavaScript 24.19% Shell 0.41% CSS 71.69% HTML 2.05% Vue 1.31%

codeclimate-stylelint's Introduction

Code Climate Stylelint Engine

Maintainability

A Code Climate engine that wraps stylelint.
You can run it on your local environment using the Code Climate CLI, or on the hosted analysis platform.

Stylelint is a tool to help you enforce consistent conventions and avoid errors in your stylesheets.
It can be configured using a configuration file.

Installation

  1. If you haven't already, install the Code Climate CLI.
  2. Run codeclimate engines:enable stylelint. This command both installs the engine and enables it in your .codeclimate.yml file.
  3. Add a stylelint config file.
  4. You're ready to analyze! Browse into your project's folder and run codeclimate analyze.

Configuration Options

  • ignore_warnings: true|false (default false) - skip warnings with styletint quiet flag
  • config: Specify a relative path for the configuration file. (ex: config/.stylelintrc)

Config

Plugins

This engine has support for the recommended plugins:

If you need something else, please open an issue.

Processors

This engine has support for some of the recommended processors:

Development

If you want to test the code for this engine locally, you'll need to install docker.

Build the docker image with docker docker build -t codeclimate/codeclimate-stylelint . (You must be inside the project directory to do this)

Tests

run npm test or ./run-tests.sh only after building the image.

If you need something else, please open an issue.

Need help?

For help with stylelint, check out their documentation.

codeclimate-stylelint's People

Contributors

dblandin avatar gilbarbara avatar jeffjewiss avatar kris-ellery avatar leonelgalan avatar lucasmazza avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.