Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lessmess-dev/eslint-config
Shared eslint config for Lessmess projects
https://github.com/lessmess-dev/eslint-config
config eslint
Last synced: 1 day ago
JSON representation
Shared eslint config for Lessmess projects
- Host: GitHub
- URL: https://github.com/lessmess-dev/eslint-config
- Owner: lessmess-dev
- Created: 2019-06-04T16:04:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T00:27:20.000Z (almost 3 years ago)
- Last Synced: 2024-10-31T18:14:27.600Z (15 days ago)
- Topics: config, eslint
- Language: JavaScript
- Homepage:
- Size: 114 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eslint-config-lessmess
[![npm version](https://img.shields.io/npm/v/eslint-config-lessmess.svg)](https://www.npmjs.com/package/eslint-config-lessmess)
Shared eslint config for Lessmess projects
## Usage
### For ES5 libs
Install peer dependencies via npx (npm 5+)
```bash
npx install-peerdeps --dev eslint-config-lessmess
```
or
```bash
yarn add --dev eslint-config-lessmess eslint-config-standard eslint-plugin-promise eslint-plugin-node eslint-plugin-es5 eslint-plugin-standard eslint-plugin-security eslint-plugin-import eslint-plugin-import-helpers eslint
```
Modify your .eslintrc:```json
{
"extends": "lessmess/lib"
}
```
### For React HooksInstall:
```bash
yarn add --dev eslint-config-lessmess eslint-plugin-react-hooks
```
Modify your .eslintrc:```json
{
"extends": "lessmess/react-hooks"
}
```