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: 1 day 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-12-01T15:15:47.000Z (25 days ago)
- Last Synced: 2024-12-18T09:04:13.572Z (8 days ago)
- Topics: eslint, stylelint
- Language: JavaScript
- Homepage:
- Size: 1.84 MB
- Stars: 63
- Watchers: 7
- Forks: 9
- Open Issues: 1
-
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:
```js
import stylelintConfig from "eslint-config-stylelint";export default [...stylelintConfig];
```### For Jest
Install the plugin additionally:
```console
$ npm install eslint-plugin-jest --save-dev
```Then, update your config:
```js
import stylelintConfig from "eslint-config-stylelint";
import stylelintJestConfig from "eslint-config-stylelint/jest";export default [...stylelintConfig, ...stylelintJestConfig];
```## [Changelog](CHANGELOG.md)