File tree Expand file tree Collapse file tree 6 files changed +340
-286
lines changed Expand file tree Collapse file tree 6 files changed +340
-286
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55This project adheres to [ Semantic Versioning] ( http://semver.org ) . Except add new
66rule (it is breaking changed by default).
77
8+ ## 98.0.0 - 2019-02-01
9+
10+ - Added: ` jest/prefer-todo ` rule.
11+ - Removed: ` jsx-a11y/label-has-for ` rule (in favor ` jsx-a11y/label-has-associated-control ` ).
12+
813## 97.0.1 - 2019-01-04
914
1015- Fixed: version in ` package.json ` .
Original file line number Diff line number Diff line change @@ -107,6 +107,8 @@ module.exports = {
107107 "import/no-named-default" : "error" ,
108108 // Forbid default exports
109109 "import/no-default-export" : "off" ,
110+ // Forbid named exports
111+ "import/no-named-export" : "off" ,
110112 // Forbid anonymous values as default exports
111113 "import/no-anonymous-default-export" : "off" ,
112114 // Prefer named exports to be grouped together in a single export declaration
Original file line number Diff line number Diff line change @@ -56,5 +56,7 @@ module.exports = {
5656 // Enforce having return statement when testing with promises
5757 "jest/valid-expect-in-promise" : "error" ,
5858 // Enforce valid `expect()` usage
59- "jest/valid-expect" : "error"
59+ "jest/valid-expect" : "error" ,
60+ // Suggest using `test.todo`
61+ "jest/prefer-todo" : "error"
6062} ;
Original file line number Diff line number Diff line change @@ -65,17 +65,9 @@ module.exports = {
6565 ]
6666 }
6767 ] ,
68- // Enforce that <label> elements have the htmlFor prop.
69- "jsx-a11y/label-has-for" : [
70- "error" ,
71- {
72- components : [ ] ,
73- required : {
74- every : [ "nesting" , "id" ]
75- } ,
76- allowChildren : false
77- }
78- ] ,
68+ // Enforce that a label tag has a text label and an associated control.
69+ // Maybe enable in future
70+ "jsx-a11y/control-has-associated-label" : "off" ,
7971 // Enforce that a label tag has a text label and an associated control.
8072 "jsx-a11y/label-has-associated-control" : [
8173 "error" ,
You can’t perform that action at this time.
0 commit comments