eslint-plugin-functional
Advanced tools
Comparing version 4.0.0-rc2 to 4.0.0
# Changelog | ||
All notable changes to this project will be documented in this file. Dates are displayed in UTC. | ||
# 4.0.0-rc2 (2021-10-15) | ||
# [4.0.0](https://github.com/jonaskello/eslint-plugin-functional/compare/v3.7.2...v4.0.0) (2021-10-17) | ||
### Bug Fixes | ||
- bring rule meta data "recommended" into line with the recommend config (f12d96e (https://github.com/jonaskello/eslint-plugin-functional/commit/f12d96e6acfdd01174ad11894e492d8e48601f49)) | ||
* bring rule meta data "recommended" into line with the recommend config ([3c4a042](https://github.com/jonaskello/eslint-plugin-functional/commit/3c4a042767aaccc55b76f42a5a1efb1e4b35d172)) | ||
### chore | ||
- remove deprecated rule: prefer-type-literal (f12359d (https://github.com/jonaskello/eslint-plugin-functional/commit/f12359de755cb039ef4bdf8949dff6e53e049318)) | ||
- remove deprecated stylitic ruleset (d268d78 (https://github.com/jonaskello/eslint-plugin-functional/commit/d268d78931301436db12ea48b49cf79af34a2387)) | ||
- update minimum required node version to 12 (e1aef05 (https://github.com/jonaskello/eslint-plugin-functional/commit/e1aef0507963df327d5d5cae2ff08f7901f155a7)) | ||
* remove deprecated rule: prefer-type-literal ([3a54331](https://github.com/jonaskello/eslint-plugin-functional/commit/3a543312388232a2348545ae7ab7ab18965e3282)) | ||
* remove deprecated stylitic ruleset ([2b96760](https://github.com/jonaskello/eslint-plugin-functional/commit/2b967606b065eac90b13fe24524c433401736440)) | ||
* update minimum required node version to 12 ([97acb3f](https://github.com/jonaskello/eslint-plugin-functional/commit/97acb3fa8fd82a600861637e540cf1d8bf3a7ce3)) | ||
### Features | ||
- add stylistic rules to lite and recommended rule sets (29c57cc (https://github.com/jonaskello/eslint-plugin-functional/commit/29c57cc567b8b2a7eb2b922a9427edc5a385dc54)) | ||
- external-recommended: update recommended external rules (bc7d0c4 (https://github.com/jonaskello/eslint-plugin-functional/commit/bc7d0c450e37c34b099c461b1fdda42dead6ccd6)) | ||
- no-return-void: implicit types are now checked by default (f23e907 (https://github.com/jonaskello/eslint-plugin-functional/commit/f23e9071d528bc652c143593dc37eafb0ec19bea)) | ||
- prefer-tacit: disable prefer-tacit by default in recommended and lite configs (4c741e1 (https://github.com/jonaskello/eslint-plugin-functional/commit/4c741e13ae2bf63fbe71042515ed2b84b5ca253e)) | ||
* add an off preset ([686b7fe](https://github.com/jonaskello/eslint-plugin-functional/commit/686b7fe581fe6d451c53f3a84d95338f2e1c5ede)) | ||
* add stylistic rules to lite and recommended rule sets ([b81b4c7](https://github.com/jonaskello/eslint-plugin-functional/commit/b81b4c72e86d97768a16e64faedf0b53ffad10d5)) | ||
* **external-recommended:** update recommended external rules ([353acb3](https://github.com/jonaskello/eslint-plugin-functional/commit/353acb34e08bb5e92e682793dd515e2af072e1c6)) | ||
* **no-return-void:** implicit types are now checked by default ([2adbe14](https://github.com/jonaskello/eslint-plugin-functional/commit/2adbe14ac4f91e8c49eca59c785ca5ba3cf070a7)) | ||
* **prefer-tacit:** disable prefer-tacit by default in recommended and lite configs ([6f9204d](https://github.com/jonaskello/eslint-plugin-functional/commit/6f9204dadaff56ebde5d69c7dbce001a3bd47e94)) | ||
### BREAKING CHANGES | ||
- no-return-void: implicit types are now checked by default | ||
- external-recommended: update recommended external rules | ||
- rule "prefer-type-literal" has been removed. | ||
- removed stylitic ruleset in favor of stylistic ruleset | ||
- Node ^12.22.0 or ^14.17.0 or >=16.0.0 is now required | ||
* **no-return-void:** implicit types are now checked by default | ||
* **external-recommended:** update recommended external rules | ||
* rule "prefer-type-literal" has been removed. | ||
* removed stylitic ruleset in favor of stylistic ruleset | ||
* Node ^12.22.0 or ^14.17.0 or >=16.0.0 is now required | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
@@ -31,0 +39,0 @@ |
{ | ||
"name": "eslint-plugin-functional", | ||
"version": "4.0.0-rc2", | ||
"version": "4.0.0", | ||
"description": "ESLint rules to disable mutation and promote fp in TypeScript.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -52,3 +52,3 @@ <div align="center"> | ||
Make things look nicer (in our opinion). | ||
Enforce code to be written in a more functional style. | ||
@@ -61,3 +61,3 @@ ## Installation | ||
# Install with npm | ||
npm install eslint eslint-plugin-functional --save-dev | ||
npm install -D eslint eslint-plugin-functional | ||
@@ -68,19 +68,12 @@ # Install with yarn | ||
**Note:** If you installed ESLint globally (using the `-g` flag with npm or `global` with yarn) then you must also install `eslint-plugin-functional` globally. | ||
### TypeScript | ||
To use this plugin with TypeScript, a TypeScript parser for ESLint is needed. | ||
We recommend [@typescript-eslint/parser](https://www.npmjs.com/package/@typescript-eslint/parser). | ||
```sh | ||
# Install with npm | ||
npm install eslint @typescript-eslint/parser eslint-plugin-functional --save-dev | ||
npm install -D eslint @typescript-eslint/parser tsutils eslint-plugin-functional | ||
# Install with yarn | ||
yarn add -D eslint @typescript-eslint/parser eslint-plugin-functional | ||
yarn add -D eslint @typescript-eslint/parser tsutils eslint-plugin-functional | ||
``` | ||
[tsutils](https://www.npmjs.com/package/tsutils) is also recommended as a peer dependency but if you are using [@typescript-eslint/eslint-plugin](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin) then you don't need explicitly add it. | ||
## Usage | ||
@@ -165,2 +158,3 @@ | ||
- **Lite** (plugin:functional/lite) | ||
- **Off** (plugin:functional/off) | ||
@@ -167,0 +161,0 @@ Categorized: |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
177805
3855
0
301