@stanlemon/eslint-config 0.1.12 → 0.1.15
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/index.js +2 -1
- package/package.json +6 -5
package/index.js
CHANGED
|
@@ -19,6 +19,7 @@ module.exports = {
|
|
|
19
19
|
extends: [
|
|
20
20
|
"react-app",
|
|
21
21
|
"plugin:jest/recommended",
|
|
22
|
+
"plugin:jest-dom/recommended",
|
|
22
23
|
"plugin:prettier/recommended",
|
|
23
24
|
],
|
|
24
25
|
rules: {
|
|
@@ -37,7 +38,7 @@ module.exports = {
|
|
|
37
38
|
"no-console": "warn",
|
|
38
39
|
// Requires the displayName property to be set, not ideal for stateless components
|
|
39
40
|
"react/display-name": "off",
|
|
40
|
-
// Allow exporting of
|
|
41
|
+
// Allow exporting of unnamed objects as a default
|
|
41
42
|
"import/no-anonymous-default-export": [
|
|
42
43
|
"error",
|
|
43
44
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stanlemon/eslint-config",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "My typical eslint setup, but without all the copy and paste.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint"
|
|
@@ -17,13 +17,14 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@babel/eslint-parser": "^7.17.0",
|
|
20
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
21
|
-
"@typescript-eslint/parser": "^5.
|
|
22
|
-
"eslint": "^8.
|
|
20
|
+
"@typescript-eslint/eslint-plugin": "^5.23.0",
|
|
21
|
+
"@typescript-eslint/parser": "^5.23.0",
|
|
22
|
+
"eslint": "^8.15.0",
|
|
23
23
|
"eslint-config-prettier": "^8.5.0",
|
|
24
24
|
"eslint-config-react-app": "^7.0.1",
|
|
25
25
|
"eslint-plugin-import": "^2.26.0",
|
|
26
|
-
"eslint-plugin-jest": "^26.1
|
|
26
|
+
"eslint-plugin-jest": "^26.2.1",
|
|
27
|
+
"eslint-plugin-jest-dom": "^4.0.1",
|
|
27
28
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
28
29
|
"eslint-plugin-prettier": "^4.0.0",
|
|
29
30
|
"eslint-plugin-react": "^7.29.4",
|