https://github.com/lessmess-dev/eslint-config
Shared eslint config for Lessmess projects
https://github.com/lessmess-dev/eslint-config
config eslint
Last synced: 4 months 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T00:27:20.000Z (over 3 years ago)
- Last Synced: 2025-02-03T00:36:27.772Z (5 months 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
[](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"
}
```