@bonniernews/eslint-config 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/package.json +4 -4
- package/test.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.0
|
|
4
|
+
|
|
5
|
+
- Bumped `typescript` to 5.4.3 and `@typescript-eslint` to 7.4.0.
|
|
6
|
+
|
|
7
|
+
## 1.1.1
|
|
8
|
+
|
|
9
|
+
- Include lowercase `describe` and `context` blocks in `no-only-tests/no-only-tests`.
|
|
10
|
+
|
|
3
11
|
## 1.1.0
|
|
4
12
|
|
|
5
13
|
- Add rule `react/jsx-curly-spacing` to align jsx curly with js curly.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bonniernews/eslint-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"eslint": "^8.53.0",
|
|
25
25
|
"mocha": "^10.2.0",
|
|
26
26
|
"mocha-cakes-2": "^3.3.0",
|
|
27
|
-
"typescript": "^5.3
|
|
27
|
+
"typescript": "^5.4.3"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"eslint": ">=8.3.0",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"license": "MIT",
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@bonniernews/eslint-plugin-typescript-rules": "^0.9.0",
|
|
44
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
45
|
-
"@typescript-eslint/parser": "^
|
|
44
|
+
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
|
45
|
+
"@typescript-eslint/parser": "^7.4.0",
|
|
46
46
|
"eslint-plugin-chai-friendly": "^0.7.2",
|
|
47
47
|
"eslint-plugin-import": "^2.29.0",
|
|
48
48
|
"eslint-plugin-n": "^16.3.1",
|
package/test.js
CHANGED
|
@@ -45,7 +45,7 @@ module.exports = {
|
|
|
45
45
|
// no only in tests
|
|
46
46
|
"no-only-tests/no-only-tests": [
|
|
47
47
|
"error",
|
|
48
|
-
{ block: [ "Feature", "Scenario", "it", "Describe" ] },
|
|
48
|
+
{ block: [ "Feature", "Scenario", "it", "Describe", "describe", "context" ] },
|
|
49
49
|
],
|
|
50
50
|
// chai friendly
|
|
51
51
|
"no-unused-expressions": 0,
|