aghassi-js-configs

Common set of JS configs used by David Aghassi

Usage no npm install needed!

<script type="module">
  import aghassiJsConfigs from 'https://cdn.skypack.dev/aghassi-js-configs';
</script>

README

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'];