New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-hardcore-fp

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-hardcore-fp

Hardcore ESLint Shareable Config for functional programming

6.4.0
Source
npm
Version published
Weekly downloads
80
63.27%
Maintainers
1
Weekly downloads
 
Created
Source

Hardcore ESLint Shareable Config for functional programming

Travis CI build status

About

Shareable Configs are designed to work with the extends feature of .eslintrc files.

This config extends the hardcore config and adds rules from eslint-plugin-fp.

This config is designed to be compatible with Douglas Crockford's JSLint.

RulesTotalEnabled
ESLint259237
eslint-plugin-promise1411
eslint-plugin-security1312
eslint-plugin-import4032
eslint-plugin-unicorn4336
eslint-plugin-fp1715
Total386343

Usage

First run this:

npm install eslint-config-hardcore-fp --save-dev

Then, add "extends": "hardcore-fp" to your .eslintrc file and specify your environments:

{
    "extends": "hardcore-fp",
    "env": {
        "node": true,
        "browser": true
    }
}

Note: We omitted the eslint-config- prefix since it is automatically assumed by ESLint.

You can override settings from the shareable config by adding them directly into your .eslintrc file:

{
    "extends": "hardcore-fp",
    "env": {
        "node": true,
        "browser": true
    },
    "rules": {
        "no-console": "off"
    }
}

License

MIT

Keywords

eslint

FAQs

Package last updated on 29 Sep 2019

Did you know?

Socket

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