Skip to content

Commit 66669fd

Browse files
committed
Allow unused rest siblings, Merge src changes with master
1 parent 355287c commit 66669fd

File tree

5 files changed

+9291
-133
lines changed

5 files changed

+9291
-133
lines changed

.eslintrc

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,31 @@
11
{
2-
"extends": ["last", "prettier", "prettier/react", "plugin:react/recommended"],
3-
"plugins": ["react", "prettier"],
2+
"extends": [
3+
"last",
4+
"prettier",
5+
"prettier/react",
6+
"plugin:react/recommended"
7+
],
8+
"plugins": [
9+
"react",
10+
"prettier"
11+
],
412
"globals": {
513
"document": true,
614
"window": true,
715
"describe": true,
8-
"it": true
16+
"it": true,
17+
"module": true,
18+
"exports": true,
19+
"require": true
20+
},
21+
"rules": {
22+
"no-unused-vars": [
23+
"off",
24+
{
25+
"vars": "all",
26+
"args": "after-used",
27+
"ignoreRestSiblings": false
28+
}
29+
]
930
}
1031
}

0 commit comments

Comments
 (0)