@notastudio/eslint-config

0.1.3 • Public • Published

eslint-config

Not a Studio's ESLint shared config.

Usage

Install the package by running:

yarn add -D eslint @notastudio/eslint-config

Then add the extends to your .eslintrc:

{
  "extends": ["@notastudio"],
  "rules": {
    // your overrides
  }
}

Finally, for Prettier's rules to work with your editor / git hook add at prettier.config.js:

module.exports = require('@notastudio/eslint-config/.prettierrc')

Other configs

This config exposes a few other configs that you can use standalone or in combination with the base config:

{
  "extends": ["@notastudio", "@notastudio/eslint-config/<config-name>"]
}
  • react: React JS library (eslint-plugin-react)
  • jest: jest testing framework (eslint-plugin-jest)
  • flow: flow static type checker for JavaScript (eslint-plugin-flowtype)

License

MIT

Package Sidebar

Install

npm i @notastudio/eslint-config

Weekly Downloads

1

Version

0.1.3

License

MIT

Unpacked Size

5.41 kB

Total Files

11

Last publish

Collaborators

  • ganlub
  • nyenye
  • toubes