Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aminnairi/esgi-stylelint-config
StyleLint configuration
https://github.com/aminnairi/esgi-stylelint-config
config configuration esgi lint setting settings style stylelint
Last synced: 30 days ago
JSON representation
StyleLint configuration
- Host: GitHub
- URL: https://github.com/aminnairi/esgi-stylelint-config
- Owner: aminnairi
- License: gpl-3.0
- Created: 2021-10-15T14:51:48.000Z (over 3 years ago)
- Default Branch: development
- Last Pushed: 2023-12-25T18:15:01.000Z (about 1 year ago)
- Last Synced: 2024-11-15T20:34:31.719Z (3 months ago)
- Topics: config, configuration, esgi, lint, setting, settings, style, stylelint
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@esgi/stylelint-config
- Size: 108 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# @esgi/stylelint-config
[![E2E](https://github.com/aminnairi/esgi-stylelint-config/actions/workflows/e2e.yaml/badge.svg)](https://github.com/aminnairi/esgi-stylelint-config/actions/workflows/e2e.yaml) [![NPM version](https://badgen.net/npm/v/@esgi/stylelint-config)](https://www.npmjs.com/package/@esgi/stylelint-config) [![Package size](https://badgen.net/bundlephobia/minzip/@esgi/stylelint-config)](https://bundlephobia.com/package/@esgi/stylelint-config) ![Vulnerabilities' count](https://badgen.net/snyk/aminnairi/esgi-stylelint-config)
StyleLint configuration
## Requirements
- Terminal
- [Node](https://nodejs.org/)
- NPM
- NPX## Installation
```console
$ npm install --save-dev stylelint @esgi/stylelint-config
```## Usage
### Without configuration
#### With a single file
```console
$ npx @esgi/stylelint-config index.css
```#### With multiple files
```console
$ npx @esgi/stylelint-config first.css second.css third.css
```#### Using a glob
```console
$ npx @esgi/stylelint-config *.css
```### With configuration
```console
$ touch .stylelintrc.js
``````javascript
"use strict";module.exports = {
extends: "@esgi/stylelint-config"
};
``````console
$ touch package.json
``````json
{
"scripts": {
"stylelint": "stylelint index.css"
}
}
``````console
$ npm run stylelint
```
## Code of conductSee [`CODE_OF_CONDUCT.md`](./CODE_OF_CONDUCT.md).
## Contributing
See [`CONTRIBUTING.md`](./CONTRIBUTING.md).
## Changelog
See [`CHANGELOG.md`](./CHANGELOG.md).
## License
See [`LICENSE`](./LICENSE).