eslint-config-iq

1.0.2 • Public • Published

eslint-config-iq

A shared code style and formatting config.

Background

We use both eslint and prettier to lint our code:

  • eslint is for code-quality.
  • prettier is for formatting.

Installation

yarn add --dev eslint-config-iq

also add eslint and prettier if not already added

yarn add --dev eslint prettier

Extend the shared eslint config in your .eslintrc.js:

// .eslintrc.js
module.exports = {
  extends: 'eslint-config-iq',
  rules: {
    // Your project-specific rules
  },
};

Extend the shared prettier config in your .prettierrc.js:

// .prettierrc.js
module.exports = require('eslint-config-iq/.prettierrc');

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-iq

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

3.11 kB

Total Files

5

Last publish

Collaborators

  • iq360