aghassi-js-configs
v1.0.22
Published
Common set of JS configs used by David Aghassi
Downloads
89
Readme
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
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 --devUsage
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:
- Create
eslintrc.js - Add the following:
const configs = require('aghassi-js-configs');
module.exports = configs['eslint-config-tools'];