Skip to content
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.

pmedianetwork/eslint-config

Repository files navigation

eslint-config

This is pmedianetwork's ESLint config used for JavaScript projects. It is based on Airbnb's JavaScript Style Guide and uses prettier.

Installation

npm install --save-dev pmedianetwork/eslint-config

Use it by setting the extends field in your .eslintrc:

{
  extends: 'plugin:@pmedianetwork/recommended',
};

Optionally combine

With flow

{
  extends: 'plugin:@pmedianetwork/flow',
};

With typescript

{
  extends: 'plugin:@pmedianetwork/typescript',
};

Release Management

See http://handbook.adverity.net/changesets/#the-library-changesets-workflow

Testing

To run tests run npm run test

Custom rules

Please see list of available rules