@enormora/eslint-config-react-jsx 0.0.76 → 0.0.78
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/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
],
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@enormora/eslint-config-react": "0.0.
|
|
10
|
+
"@enormora/eslint-config-react": "0.0.35"
|
|
11
11
|
},
|
|
12
12
|
"description": "Enormora’s ESLint react with JSX configuration",
|
|
13
13
|
"engines": {
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"name": "@enormora/eslint-config-react-jsx",
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@enormora/eslint-config-base": "0.0.
|
|
24
|
+
"@enormora/eslint-config-base": "0.0.83"
|
|
25
25
|
},
|
|
26
26
|
"repository": {
|
|
27
27
|
"type": "git",
|
|
28
28
|
"url": "git://github.com/enormora/eslint-config.git"
|
|
29
29
|
},
|
|
30
30
|
"type": "module",
|
|
31
|
-
"version": "0.0.
|
|
31
|
+
"version": "0.0.78"
|
|
32
32
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { javascriptExtensions } from "@enormora/eslint-config-base/constants.js";
|
|
2
2
|
import { reactConfig } from "@enormora/eslint-config-react";
|
|
3
|
+
import { disable } from "@enormora/eslint-config-react/rule-severity.js";
|
|
3
4
|
export const reactJsxConfig = {
|
|
4
5
|
languageOptions: {
|
|
5
6
|
parserOptions: {
|
|
@@ -20,7 +21,7 @@ export const reactJsxConfig = {
|
|
|
20
21
|
'unicorn/no-ineffective-csp-directives': 'error',
|
|
21
22
|
'unicorn/no-invalid-integrity': 'error',
|
|
22
23
|
'jsx-quotes': ['error', 'prefer-single'],
|
|
23
|
-
'jsx-sort-props':
|
|
24
|
+
'jsx-sort-props': disable(),
|
|
24
25
|
'react/jsx-boolean-value': ['error', 'always'],
|
|
25
26
|
'react/jsx-key': 'error',
|
|
26
27
|
'react/jsx-max-depth': ['error', { max: 10 }],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-jsx.js","sourceRoot":"","sources":["../../../../../configs/presets/react-jsx/react-jsx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAAoB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,+BAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"react-jsx.js","sourceRoot":"","sources":["../../../../../configs/presets/react-jsx/react-jsx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAAoB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,+BAAmB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,gDAAwB,CAAC;AAEjD,MAAM,CAAC,MAAM,cAAc,GAAG;IAC1B,eAAe,EAAE;QACb,aAAa,EAAE;YACX,YAAY,EAAE;gBACV,GAAG,EAAE,IAAI;aACZ;SACJ;KACJ;IACD,OAAO,EAAE,WAAW,CAAC,OAAO;IAC5B,QAAQ,EAAE;QACN,gBAAgB,EAAE;YACd,MAAM,EAAE,CAAE,GAAG,oBAAoB,EAAE,MAAM,CAAE;SAC9C;KACJ;IACD,KAAK,EAAE;QACH,GAAG,WAAW,CAAC,KAAK;QAEpB,oCAAoC,EAAE,OAAO;QAC7C,uCAAuC,EAAE,OAAO;QAChD,8BAA8B,EAAE,OAAO;QAEvC,YAAY,EAAE,CAAE,OAAO,EAAE,eAAe,CAAE;QAC1C,gBAAgB,EAAE,OAAO,EAA4C;QAErE,yBAAyB,EAAE,CAAE,OAAO,EAAE,QAAQ,CAAE;QAChD,eAAe,EAAE,OAAO;QACxB,qBAAqB,EAAE,CAAE,OAAO,EAAE,EAAE,GAAG,EAAE,EAAE,EAAE,CAAE;QAC/C,gCAAgC,EAAE,OAAO;QACzC,8BAA8B,EAAE,OAAO;QACvC,uBAAuB,EAAE,OAAO;QAChC,yBAAyB,EAAE,OAAO;QAClC,2BAA2B,EAAE,OAAO;QACpC,+BAA+B,EAAE,OAAO;QACxC,oBAAoB,EAAE,OAAO;QAC7B,uBAAuB,EAAE,OAAO;QAChC,qBAAqB,EAAE,CAAE,OAAO,EAAE,SAAS,CAAE;QAC7C,8BAA8B,EAAE,OAAO;QACvC,sBAAsB,EAAE,OAAO;QAC/B,qBAAqB,EAAE,OAAO;QAC9B,0BAA0B,EAAE,OAAO;QACnC,yCAAyC,EAAE,OAAO;QAClD,4BAA4B,EAAE,OAAO;KACxC;CACJ,CAAC"}
|
|
@@ -9,59 +9,59 @@
|
|
|
9
9
|
{
|
|
10
10
|
"type": "application",
|
|
11
11
|
"name": "packtory",
|
|
12
|
-
"version": "0.0.
|
|
12
|
+
"version": "0.0.127"
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
16
|
"component": {
|
|
17
17
|
"type": "library",
|
|
18
18
|
"name": "@enormora/eslint-config-react-jsx",
|
|
19
|
-
"version": "0.0.
|
|
20
|
-
"bom-ref": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.
|
|
21
|
-
"purl": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.
|
|
19
|
+
"version": "0.0.78",
|
|
20
|
+
"bom-ref": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.78",
|
|
21
|
+
"purl": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.78"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"components": [
|
|
25
25
|
{
|
|
26
26
|
"type": "library",
|
|
27
27
|
"name": "@enormora/eslint-config-base",
|
|
28
|
-
"version": "0.0.
|
|
29
|
-
"bom-ref": "pkg:npm/@enormora/eslint-config-base@0.0.
|
|
28
|
+
"version": "0.0.83",
|
|
29
|
+
"bom-ref": "pkg:npm/@enormora/eslint-config-base@0.0.83",
|
|
30
30
|
"scope": "optional",
|
|
31
31
|
"licenses": [
|
|
32
32
|
{
|
|
33
33
|
"expression": "MIT"
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
|
-
"purl": "pkg:npm/@enormora/eslint-config-base@0.0.
|
|
36
|
+
"purl": "pkg:npm/@enormora/eslint-config-base@0.0.83"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"type": "library",
|
|
40
40
|
"name": "@enormora/eslint-config-react",
|
|
41
|
-
"version": "0.0.
|
|
42
|
-
"bom-ref": "pkg:npm/@enormora/eslint-config-react@0.0.
|
|
41
|
+
"version": "0.0.35",
|
|
42
|
+
"bom-ref": "pkg:npm/@enormora/eslint-config-react@0.0.35",
|
|
43
43
|
"scope": "required",
|
|
44
44
|
"licenses": [
|
|
45
45
|
{
|
|
46
46
|
"expression": "MIT"
|
|
47
47
|
}
|
|
48
48
|
],
|
|
49
|
-
"purl": "pkg:npm/@enormora/eslint-config-react@0.0.
|
|
49
|
+
"purl": "pkg:npm/@enormora/eslint-config-react@0.0.35"
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
52
|
"dependencies": [
|
|
53
53
|
{
|
|
54
|
-
"ref": "pkg:npm/@enormora/eslint-config-base@0.0.
|
|
54
|
+
"ref": "pkg:npm/@enormora/eslint-config-base@0.0.83"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
|
-
"ref": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.
|
|
57
|
+
"ref": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.78",
|
|
58
58
|
"dependsOn": [
|
|
59
|
-
"pkg:npm/@enormora/eslint-config-base@0.0.
|
|
60
|
-
"pkg:npm/@enormora/eslint-config-react@0.0.
|
|
59
|
+
"pkg:npm/@enormora/eslint-config-base@0.0.83",
|
|
60
|
+
"pkg:npm/@enormora/eslint-config-react@0.0.35"
|
|
61
61
|
]
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
|
-
"ref": "pkg:npm/@enormora/eslint-config-react@0.0.
|
|
64
|
+
"ref": "pkg:npm/@enormora/eslint-config-react@0.0.35"
|
|
65
65
|
}
|
|
66
66
|
]
|
|
67
67
|
}
|