Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/belsrc/eslint-config-belsrc
Collection of ESLint plugin configs
https://github.com/belsrc/eslint-config-belsrc
eslint eslint-config import javascript jsx linting promise vue
Last synced: 5 days ago
JSON representation
Collection of ESLint plugin configs
- Host: GitHub
- URL: https://github.com/belsrc/eslint-config-belsrc
- Owner: belsrc
- License: mit
- Created: 2019-06-07T04:08:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T17:38:08.000Z (almost 2 years ago)
- Last Synced: 2024-04-27T10:22:50.340Z (7 months ago)
- Topics: eslint, eslint-config, import, javascript, jsx, linting, promise, vue
- Language: JavaScript
- Homepage:
- Size: 594 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 43
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-belsrc
[![Last Commit](https://img.shields.io/github/last-commit/belsrc/eslint-config-belsrc/master.svg?style=flat-square)](https://github.com/belsrc/eslint-config-belsrc/commits/master)
A monorepo of opinionated collection of ESLint plugin configs I use in different types of projects.
* @typescript-eslint/eslint-plugin
* eslint-plugin-fp-jxl
* eslint-plugin-import
* eslint-plugin-jsx-a11y
* eslint-plugin-promise
* eslint-plugin-react
* eslint-plugin-react-hooks
* eslint-plugin-simple-import-sort## Install
```bash
npm i -D @belsrc/eslint-config-[package]
```## Use
```js
// .eslintrc.js
module.exports = {
extends: ['@belsrc/eslint-config-[package]'],
};
```Each package also contains a prettier config.
```js
// .prettierrc.js
const config = require('@belsrc/eslint-config-[package]/.prettierrc');module.exports = config;
```## Packages
* [@belsrc/eslint-config-node](packages/node/README.md)
* [@belsrc/eslint-config-node-ts](packages/node-ts/README.md)
* [@belsrc/eslint-config-react](packages/react/README.md)
* [@belsrc/eslint-config-react-ts](packages/react-ts/README.md)## LICENCE
[MIT](LICENCE)