Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lbenie/linting
My personal set of linting rules
https://github.com/lbenie/linting
Last synced: 26 days ago
JSON representation
My personal set of linting rules
- Host: GitHub
- URL: https://github.com/lbenie/linting
- Owner: lbenie
- License: mit
- Created: 2022-06-24T00:01:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-27T13:50:00.000Z (about 1 month ago)
- Last Synced: 2024-12-27T14:34:55.126Z (about 1 month ago)
- Language: JavaScript
- Size: 2.06 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/funding.yml
- License: LICENSE
Awesome Lists containing this project
README
# @lbenie/linting
My personal opinionated linting configuration for eslint prettier and stylelint
## Usage
Inside your project install the package
```bash
npm i -D @lbenie/linting
```or
```bash
yarn add -D @lbenie/linting
```Then create a `eslint.config.js` file at the root of your project and add the following
```js
import rules from '@lbenie/linting/eslint';export default [
...rules,
]
```Then create a `stylelint.config.cjs` file at the root of your project and add the following
```js
import rules from '@lbenie/linting/stylelint';export default [
...rules,
]
```This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!