Skip to content

Commit 39f341f

Browse files
chore(release): 98.0.0
1 parent 1877663 commit 39f341f

File tree

6 files changed

+340
-286
lines changed

6 files changed

+340
-286
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
55
This project adheres to [Semantic Versioning](http://semver.org). Except add new
66
rule (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`.

lib/config/rules/import.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

lib/config/rules/jest.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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
};

lib/config/rules/jsx-a11y.js

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff 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",

0 commit comments

Comments
 (0)