Giter Site home page Giter Site logo

emuvente / linter-stylelint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from atomlinter/linter-stylelint

0.0 2.0 1.0 538 KB

A plugin for Atom Linter providing an interface to stylelint.

Home Page: https://atom.io/packages/linter-stylelint

JavaScript 100.00%

linter-stylelint's Introduction

linter-stylelint Dependency Status

A plugin for Atom Linter providing an interface to stylelint.

demo

Installation

apm install linter-stylelint

linter-stylelint runs stylelint against your CSS, SCSS, Less, PostCSS, and SugarSS files.

Configuration

You can pass a configuration to stylelint in any of the following ways:

  • Place a configuration file (.stylelintrc or stylelint.config.js) in your project's root folder or in any parent folder.

  • Add a stylelint section in your package.json.

  • In the settings, check Use standard to automatically use stylelint-config-standard

.stylelintrc is always prioritized. If you have checked Use standard in the settings and also have a .stylelintrc file, your .stylelintrc configuration will extend the preset, using stylelint's extend functionality.

Notes

As of stylelint v7.0.0 the ability to lint embedded style code has been removed from core, replaced with the ability for generic processors to handle any file format. Currently one has yet to be written for pulling style code out of HTML, if you are interested in bringing this functionality back to linter-stylelint, check out their documentation on how to write a processor to handle HTML, and any other files that contain style code!

License

MIT: http://1000ch.mit-license.org/

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.