stylelint / eslint-config-stylelint

Stylelint org's shareable config for eslint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-config-stylelint

NPM version Build Status

Stylelint org's shareable config for ESLint.

For consistent JavaScript across Stylelint's repos.

Installation

$ npm install eslint-config-stylelint --save-dev

Usage

Add this to your ESLint config:

{
  "extends": ["stylelint"]
}

For Jest

Install the plugin additionally:

$ npm install eslint-plugin-jest --save-dev

Then, update your config:

{
-  "extends": ["stylelint"]
+  "extends": ["stylelint", "stylelint/jest"]
}

Changelog

About

Stylelint org's shareable config for eslint

License:MIT License


Languages

Language:JavaScript 100.0%