@iambrennanwalsh/eslint-config

0.1.5 • Public • Published

eslint-config

Personal ESLint configuration of @iambrennanwalsh.

Usage

  1. Install the @iambrennanwalsh/eslint-config package using npm or yarn.

Note: Until this ongoing issue with ESLint is fixed, you must also install @rushstack/eslint-patch.

npm install @iambrennanwalsh/eslint-config @rushstack/eslint-patch
// or
yarn add @iambrennanwalsh/eslint-config @rushstack/eslint-patch
  1. Create an ESLint config file (.eslintrc) with the root of your project.
require('@rushstack/eslint-patch/modern-module-resolution')

module.exports = {
  "root": true,
  "extends": [
    `@iambrennanwalsh`
  ]
}
  1. Extend additional config files. If extending the Prettier config, be sure it comes very last within your extends array.
  • TypeScript: @iambrennanwalsh/eslint-config/src/typescript
  • React: @iambrennanwalsh/eslint-config/src/react
  • Jest: @iambrennanwalsh/eslint-config/src/jest
  • Webpack: @iambrennanwalsh/eslint-config/src/webpack
  • Prettier: @iambrennanwalsh/eslint-config/src/prettier

Dependencies (14)

Dev Dependencies (2)

Package Sidebar

Install

npm i @iambrennanwalsh/eslint-config

Weekly Downloads

1

Version

0.1.5

License

MIT

Unpacked Size

6.37 kB

Total Files

10

Last publish

Collaborators

  • iambrennanwalsh