https://github.com/aghassi/aghassi-js-configs
https://github.com/aghassi/aghassi-js-configs
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aghassi/aghassi-js-configs
- Owner: Aghassi
- Created: 2018-09-09T17:01:53.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T16:45:43.000Z (over 3 years ago)
- Last Synced: 2025-07-19T15:53:35.444Z (11 months ago)
- Language: JavaScript
- Size: 1.1 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 42
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aghassi-js-configs


[](https://circleci.com/gh/Aghassi/aghassi-js-configs)
This repo is a collection of common NPM modules and configurations I like to use when I'm developing. By adding this as a dependency, I can verify I have all the tools I need as well as the configs. Each tool is added as a peer dependency to ensure that the consumer uses them (hopefully). The configs are just a simple `require` call.
## Installation
```bash
yarn add aghassi-js-configs --dev
yarn add eslint-plugin-eslint-comments eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react --dev
```
## Usage
All configs are listed in the `index.js` of this project. If you intend to use one, you can create the necessary RC file and then `require` the config followed by a `module.exports`. For example, for ESLint you would:
1. Create `eslintrc.js`
2. Add the following:
```javascript
const configs = require('aghassi-js-configs');
module.exports = configs['eslint-config-tools'];
```