eslint-config-gda

0.4.1 • Public • Published

eslint-config-gda

This package includes the shareable ESLint configuration used by gda-scripts.

Extends:

And adds few rules relaxations...

Usage

First, install ESLint and Prettier

Then install eslint-config-gda and it peers dependencies

npm install eslint-config-gda eslint-config-airbnb eslint-config-prettier eslint-plugin-flowtype eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react --save-dev

Then create a file named .eslintrc with following contents in the root folder of your project:

{
  "extends": ["gda"]
}

Then create a file name .prettierrc with following contents in the root folder of your project:

{
  "printWidth": 120,
  "singleQuote": true,
  "trailingComma": "es5"
}

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-gda

Weekly Downloads

12

Version

0.4.1

License

MIT

Unpacked Size

4.6 kB

Total Files

5

Last publish

Collaborators

  • gillesdandrea