https://github.com/aliencreations/eslint-config
Standard Alien Creations eslint configuration
https://github.com/aliencreations/eslint-config
Last synced: about 1 year ago
JSON representation
Standard Alien Creations eslint configuration
- Host: GitHub
- URL: https://github.com/aliencreations/eslint-config
- Owner: AlienCreations
- Created: 2020-11-06T13:10:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-06T13:40:55.000Z (over 5 years ago)
- Last Synced: 2025-05-09T00:12:49.146Z (about 1 year ago)
- Language: JavaScript
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Overview
Place a .eslint.json config in your project with these contents:
Default (less strict):
```
{ "extends": "@aliencreations" }
```
Install it as a dev dependency in your project:
```yarn add @aliencreations/eslint-config --dev-only```
You may see the following documentation on sharable configs:
https://eslint.org/docs/developer-guide/shareable-configs
### Running ESLint from the terminal
First, add a lint script to your package.json:
```
"scripts": {
"lint": "eslint ."
...
```
Then run `yarn lint` or lint with auto-fix `yarn lint --fix`
## Changelog
##### 1.0.0
- Initial commit.
##### 1.0.1
- Add Github workflow.