1.5.0 • Published 6 years ago

eslint-config-socifi v1.5.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

ESLint Config SOCIFI

This is default eslint configurations for projects in SOCIFI.

Usage

First install the package:

npm install eslint-config-socifi --save-dev

and update you ESLint configuration:

module.exports = {
    extends: [
        'socifi',
    ],
};

In basic configuration following plugins are included:

  • import - We use ECMAScript 6 modules.
  • jsdoc - Predefined style for comments of methods.
  • promise - Predefined style for promises.
  • compat - To check that used features are supported by certain browsers.
  • flowtype - We use static analysis tool Flow.

There are two extendable configurations:

module.exports = {
    extends: [
        'socifi',
        'socifi/react',
        'socifi/jasmine',
        'socifi/jest',
    ],
};