npm.io
1.5.0 • Published 8 years ago

eslint-config-socifi

Licence
MIT
Version
1.5.0
Deps
12
Size
6 kB
Vulns
0
Weekly
0
Stars
2
DeprecatedThis package is deprecated

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',
    ],
};

Keywords