Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stylelint/eslint-config-stylelint
Stylelint org's shareable config for eslint
https://github.com/stylelint/eslint-config-stylelint
eslint stylelint
Last synced: 3 months ago
JSON representation
Stylelint org's shareable config for eslint
- Host: GitHub
- URL: https://github.com/stylelint/eslint-config-stylelint
- Owner: stylelint
- License: mit
- Created: 2015-08-04T10:10:24.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2024-08-01T12:43:02.000Z (3 months ago)
- Last Synced: 2024-08-01T14:15:59.673Z (3 months ago)
- Topics: eslint, stylelint
- Language: JavaScript
- Homepage:
- Size: 1.63 MB
- Stars: 60
- Watchers: 7
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-stylelint
[![NPM version](https://img.shields.io/npm/v/eslint-config-stylelint.svg)](https://www.npmjs.org/package/eslint-config-stylelint)
[![Build Status](https://github.com/stylelint/eslint-config-stylelint/workflows/CI/badge.svg)](https://github.com/stylelint/eslint-config-stylelint/actions)> Stylelint org's shareable config for ESLint.
For consistent JavaScript across Stylelint's repos.
## Installation
```console
$ npm install eslint-config-stylelint --save-dev
```## Usage
Add this to your ESLint config:
```json
{
"extends": ["stylelint"]
}
```### For Jest
Install the plugin additionally:
```console
$ npm install eslint-plugin-jest --save-dev
```Then, update your config:
```diff json
{
- "extends": ["stylelint"]
+ "extends": ["stylelint", "stylelint/jest"]
}
```## [Changelog](CHANGELOG.md)