aghassi-js-configs

1.0.22 • Public • Published

aghassi-js-configs

CircleCI

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 --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:
const configs = require('aghassi-js-configs');
module.exports = configs['eslint-config-tools'];

Readme

Keywords

none

Package Sidebar

Install

npm i aghassi-js-configs

Weekly Downloads

42

Version

1.0.22

License

MIT

Unpacked Size

11.1 kB

Total Files

35

Last publish

Collaborators

  • davidaghassi