/esgi-stylelint-config

StyleLint configuration

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

@esgi/stylelint-config

E2E NPM version Package size Vulnerabilities' count

StyleLint configuration

Requirements

  • Terminal
  • Node
  • NPM
  • NPX

Installation

$ npm install --save-dev stylelint @esgi/stylelint-config

Usage

Without configuration

With a single file

$ npx @esgi/stylelint-config index.css

With multiple files

$ npx @esgi/stylelint-config first.css second.css third.css

Using a glob

$ npx @esgi/stylelint-config *.css

With configuration

$ touch .stylelintrc.js
"use strict";

module.exports = {
  extends: "@esgi/stylelint-config"
};
$ touch package.json
{
  "scripts": {
    "stylelint": "stylelint index.css"
  }
}
$ npm run stylelint

Code of conduct

See CODE_OF_CONDUCT.md.

Contributing

See CONTRIBUTING.md.

Changelog

See CHANGELOG.md.

License

See LICENSE.