File tree 4 files changed +11
-11
lines changed
4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 114
114
"eslint" : " >=8.0.0" ,
115
115
"eslint-import-resolver-typescript" : " *" ,
116
116
"eslint-plugin-eslint-comments" : " *" ,
117
- "eslint-plugin-functional" : " * " ,
117
+ "eslint-plugin-functional" : " >=5.0.0 " ,
118
118
"eslint-plugin-import" : " *" ,
119
119
"eslint-plugin-jsdoc" : " *" ,
120
120
"eslint-plugin-markdown" : " *" ,
Original file line number Diff line number Diff line change @@ -2,11 +2,11 @@ import type { Linter } from "eslint";
2
2
3
3
const baseConfig : Linter . Config = {
4
4
rules : {
5
- "functional/no-conditional-statement " : "off" ,
6
- "functional/no-expression-statement " : "off" ,
7
- "functional/no-loop-statement " : "off" ,
5
+ "functional/no-conditional-statements " : "off" ,
6
+ "functional/no-expression-statements " : "off" ,
7
+ "functional/no-loop-statements " : "off" ,
8
8
"functional/no-return-void" : "off" ,
9
- "functional/no-throw-statement " : "off" ,
9
+ "functional/no-throw-statements " : "off" ,
10
10
"node/no-process-exit" : "off" ,
11
11
"node/no-sync" : "off" ,
12
12
"node/no-unpublished-import" : "off" ,
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ const baseConfig: Linter.Config = {
6
6
rules : {
7
7
"functional/functional-parameters" : "off" ,
8
8
"functional/immutable-data" : "warn" ,
9
- "functional/no-conditional-statement " : "warn" ,
10
- "functional/no-expression-statement " : "off" ,
11
- "functional/no-loop-statement " : "warn" ,
12
- "functional/no-throw-statement " : "off" ,
9
+ "functional/no-conditional-statements " : "warn" ,
10
+ "functional/no-expression-statements " : "off" ,
11
+ "functional/no-loop-statements " : "warn" ,
12
+ "functional/no-throw-statements " : "off" ,
13
13
"node/no-sync" : "off" ,
14
14
} ,
15
15
} ;
Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ export const settings: Linter.Config = {
6
6
extends : [ "plugin:functional/recommended" ] ,
7
7
8
8
rules : {
9
- "functional/no-expression-statement " : "error" ,
9
+ "functional/no-expression-statements " : "error" ,
10
10
"functional/immutable-data" : [
11
11
"error" ,
12
12
{
13
13
ignoreAccessorPattern : [ "**.mutable*.**" , "**.m_*.**" ] ,
14
- ignoreClass : "fieldsOnly" ,
14
+ ignoreClasses : "fieldsOnly" ,
15
15
ignoreImmediateMutation : true ,
16
16
} ,
17
17
] ,
You can’t perform that action at this time.
0 commit comments