-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eslint-plugin-fp-ts added #26. Version bumped to 7.0.0-beta.1
- Loading branch information
mlegenhausen
committed
Feb 22, 2022
1 parent
00237b2
commit 17c4df4
Showing
9 changed files
with
78 additions
and
5 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "eslint-config-werk85", | ||
"version": "6.0.0", | ||
"version": "7.0.0-beta.2", | ||
"main": "index.js", | ||
"repository": "[email protected]:werk85/eslint-config-werk85.git", | ||
"author": "Malte Legenhausen <[email protected]>", | ||
|
@@ -18,6 +18,7 @@ | |
"eslint-config-prettier": "^8.4.0", | ||
"eslint-import-resolver-typescript": "^2.5.0", | ||
"eslint-plugin-deprecation": "^1.3.2", | ||
"eslint-plugin-fp-ts": "^0.3.0", | ||
"eslint-plugin-import": "^2.25.4", | ||
"eslint-plugin-jest": "^26.1.1", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { Linter } from 'eslint' | ||
|
||
const config: Linter.Config = { | ||
plugins: ['fp-ts'], | ||
rules: { | ||
'fp-ts/no-lib-imports': 'error', | ||
'fp-ts/no-pipeable': 'error', | ||
'fp-ts/no-redundant-flow': 'error', | ||
'fp-ts/prefer-bimap': 'error', | ||
'fp-ts/prefer-chain': 'error', | ||
'fp-ts/prefer-traverse': 'error' | ||
} | ||
} | ||
|
||
export = config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters