Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including eslint-config-socifi with all npm packages installed. Try it out:

var eslintConfigSocifi = require("eslint-config-socifi")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

eslint-config-socifi v1.5.0

Pluggable ESLint config used in SOCIFI

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

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free