https://github.com/shelfio/eslint-config
https://github.com/shelfio/eslint-config
eslint-config npm-package prettier
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/shelfio/eslint-config
- Owner: shelfio
- License: mit
- Created: 2018-11-11T02:15:31.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-10T21:22:48.000Z (about 1 year ago)
- Last Synced: 2025-04-10T22:28:02.708Z (about 1 year ago)
- Topics: eslint-config, npm-package, prettier
- Language: JavaScript
- Size: 830 KB
- Stars: 6
- Watchers: 22
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: license
Awesome Lists containing this project
README
# @shelf/eslint-config 
## Style Guide
Read our [style guide](./docs/style-guide.md)
## Install
```
$ yarn add @shelf/eslint-config --dev
```
## Usage
### Backend
```js
import tsConfig from '@shelf/eslint-config/typescript';
export default [...tsConfig];
```
### Frontend
```js
import feTsConfig from '@shelf/eslint-config/frontend-typescript';
export default [
...feTsConfig,
{
settings: {
react: {
version: 'detect',
},
},
},
];
```
## Publish
```sh
$ yarn version
$ git push --tags
```
## License
MIT © [Shelf](https://shelf.io)