Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomchinery/eslint-config
My personal eslint config for hobby projects.
https://github.com/tomchinery/eslint-config
Last synced: 17 days ago
JSON representation
My personal eslint config for hobby projects.
- Host: GitHub
- URL: https://github.com/tomchinery/eslint-config
- Owner: tomchinery
- License: mit
- Created: 2019-05-21T17:39:21.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-31T05:34:26.000Z (over 5 years ago)
- Last Synced: 2024-12-16T22:01:06.983Z (25 days ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `@tomchinery/eslint-config`
> My personal [eslint](https://eslint.org/) config for hobby projects.
## Usage
**Install**
```bash
npm i @tomchinery/eslint-config
```**Edit `.eslintrc.js`**:
```javascript
module.exports = {
extends: ['@tomchinery/eslint-config']
}
```**Edit `package.json`**:
```jsonc
{
"scripts": {
...
"lint": "eslint ./src/ --fix --ext .js,.jsx,.ts,.tsx",
...
}
}
```