@nulogy/eslint-config-nulogy

1.0.0 • Public • Published

@nulogy/eslint-config-nulogy

A custom ESLint config with recommended settings for Apollo/TypeScript/React/JSON development at Nulogy.

This configuration is based on typescript-eslint. For supporting JSON files eslint-plugin-json is being used. Support for Prettier has been also added.

Usage

Install this using:

yarn add -D @nulogy/eslint-config-nulogy

In order to use this configuration, you also have to install the peer dependencies eslint, prettier and typescript:

yarn add -D eslint prettier
yarn add typescript

Then add extends: "@nulogy/nulogy" to your .eslintrc.* file like so:

.eslintrc.js:

module.exports = {
  extends: "@nulogy/nulogy"
}

You may also want to add a .prettierignore file, especially to filter out __generated__ files from Apollo Codegen.

TODOs

  • Extract rules that have been customized
  • Consider using eslint-config-react-app

Readme

Keywords

none

Package Sidebar

Install

npm i @nulogy/eslint-config-nulogy

Weekly Downloads

18

Version

1.0.0

License

ISC

Unpacked Size

6.02 kB

Total Files

4

Last publish

Collaborators

  • haidera_nulogy
  • nikolapejcic
  • jasonyuen