7.3.1 • Published 4 years ago

eslint-config-hardcore-fp v7.3.1

Weekly downloads
17
License
MIT
Repository
github
Last release
4 years ago

Deprecated in favor of eslint-config-hardcore and its additional hardcore/fp config

How to migrate to eslint-config-hardcore

{
-    "extends": ["hardcore-fp"]
+    "extends": ["hardcore", "hardcore/fp"]
}

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
ESLint264241
eslint-plugin-promise1411
eslint-plugin-security1312
eslint-plugin-import4032
eslint-plugin-unicorn4336
eslint-plugin-array-func66
eslint-plugin-optimize-regex11
eslint-plugin-sonarjs2524
eslint-plugin-fp1715
Total423378

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

7.3.1

4 years ago

7.3.0

4 years ago

7.2.0

4 years ago

7.1.0

5 years ago

7.0.0

5 years ago

6.5.0

5 years ago

6.4.0

5 years ago

6.3.0

5 years ago

6.2.0

5 years ago

6.1.0

5 years ago

6.0.0

5 years ago

5.6.0

5 years ago

5.5.0

5 years ago

5.4.1

5 years ago

5.4.0

5 years ago

5.3.0

5 years ago

5.2.1

5 years ago

5.2.0

5 years ago

5.1.0

5 years ago

5.0.2

6 years ago

5.0.1

6 years ago

5.0.0

6 years ago

4.1.0

6 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.6.0

6 years ago

3.5.0

6 years ago

3.4.0

6 years ago

3.3.0

6 years ago

3.2.0

7 years ago

3.1.1

7 years ago

3.1.0

7 years ago

3.0.0

7 years ago

2.2.0

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago