Socket
Socket
Sign inDemoInstall

eslint-config-socifi

Package Overview
Dependencies
326
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-socifi

Pluggable ESLint config used in SOCIFI


Version published
Weekly downloads
7
Maintainers
1
Created
Weekly downloads
 

Changelog

Source

[1.5.0] 2018-03-21

Changed

  • Turn off some jsdocs warn. It is no need to define variable type in docs since we are using flow definitions.

Readme

Source

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

FAQs

Last updated on 21 Mar 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc