@colepeters/eslint-config

1.0.1 • Public • Published

@colepeters/eslint-config

My preferred ESLint configuration. I use this configuration alongside Prettier, with the following configuration:

module.exports = {
  jsxSingleQuote: true,
  semi: false,
  singleQuote: true,
  trailingComma: 'es5',
}

The usage instructions below presume you want to use Prettier, too.

Usage

Install this package and dependencies via NPM:

npm i --save-dev eslint @colepeters/eslint-config prettier eslint-config-prettier

Create an ESLint configuration file in your project, with the following contents:

module.exports = {
  'extends': ['@colepeters/eslint-config', 'prettier']
}

Excluding setup with your IDE, which is outside the scope of this readme, that’s it!

Readme

Keywords

Package Sidebar

Install

npm i @colepeters/eslint-config

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

2.42 kB

Total Files

3

Last publish

Collaborators

  • colepeters