@enormora/eslint-config-react-jsx 0.0.36 → 0.0.38

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.20"
10
+ "@enormora/eslint-config-react": "0.0.21"
11
11
  },
12
12
  "description": "Enormora’s ESLint react with JSX configuration",
13
13
  "exports": {
@@ -18,12 +18,12 @@
18
18
  "license": "MIT",
19
19
  "name": "@enormora/eslint-config-react-jsx",
20
20
  "peerDependencies": {
21
- "@enormora/eslint-config-base": "0.0.37"
21
+ "@enormora/eslint-config-base": "0.0.39"
22
22
  },
23
23
  "repository": {
24
24
  "type": "git",
25
25
  "url": "git://github.com/enormora/eslint-config.git"
26
26
  },
27
27
  "type": "module",
28
- "version": "0.0.36"
28
+ "version": "0.0.38"
29
29
  }
@@ -1,6 +1,5 @@
1
- import { javascriptExtensions } from '@enormora/eslint-config-base/constants.js';
2
- import { reactConfig } from '@enormora/eslint-config-react';
3
-
1
+ import { javascriptExtensions } from "@enormora/eslint-config-base/constants.js";
2
+ import { reactConfig } from "@enormora/eslint-config-react";
4
3
  export const reactJsxConfig = {
5
4
  languageOptions: {
6
5
  parserOptions: {
@@ -12,18 +11,16 @@ export const reactJsxConfig = {
12
11
  plugins: reactConfig.plugins,
13
12
  settings: {
14
13
  'import/parsers': {
15
- espree: [ ...javascriptExtensions, '.jsx' ]
14
+ espree: [...javascriptExtensions, '.jsx']
16
15
  }
17
16
  },
18
17
  rules: {
19
18
  ...reactConfig.rules,
20
-
21
- 'jsx-quotes': [ 'error', 'prefer-single' ],
19
+ 'jsx-quotes': ['error', 'prefer-single'],
22
20
  'jsx-sort-props': 'off',
23
-
24
- 'react/jsx-boolean-value': [ 'error', 'always' ],
21
+ 'react/jsx-boolean-value': ['error', 'always'],
25
22
  'react/jsx-key': 'error',
26
- 'react/jsx-max-depth': [ 'error', { max: 10 } ],
23
+ 'react/jsx-max-depth': ['error', { max: 10 }],
27
24
  'react/jsx-no-comment-textnodes': 'error',
28
25
  'react/jsx-no-duplicate-props': 'error',
29
26
  'react/jsx-no-literals': 'error',
@@ -32,7 +29,7 @@ export const reactJsxConfig = {
32
29
  'react/jsx-no-useless-fragment': 'error',
33
30
  'react/jsx-no-undef': 'error',
34
31
  'react/jsx-pascal-case': 'error',
35
- 'react/jsx-fragments': [ 'error', 'element' ],
32
+ 'react/jsx-fragments': ['error', 'element'],
36
33
  'react/jsx-props-no-spreading': 'error',
37
34
  'react/jsx-uses-react': 'error',
38
35
  'react/jsx-uses-vars': 'error',
@@ -41,3 +38,4 @@ export const reactJsxConfig = {
41
38
  'react/jsx-no-leaked-render': 'error'
42
39
  }
43
40
  };
41
+ //# sourceMappingURL=react-jsx.js.map
@@ -0,0 +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,oBAAoB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,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,YAAY,EAAE,CAAE,OAAO,EAAE,eAAe,CAAE;QAC1C,gBAAgB,EAAE,KAAK;QAEvB,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"}
package/sbom.cdx.json CHANGED
@@ -9,59 +9,59 @@
9
9
  {
10
10
  "type": "application",
11
11
  "name": "packtory",
12
- "version": "0.0.32"
12
+ "version": "0.0.33"
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.36",
20
- "bom-ref": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.36",
21
- "purl": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.36"
19
+ "version": "0.0.38",
20
+ "bom-ref": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.38",
21
+ "purl": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.38"
22
22
  }
23
23
  },
24
24
  "components": [
25
25
  {
26
26
  "type": "library",
27
27
  "name": "@enormora/eslint-config-base",
28
- "version": "0.0.37",
29
- "bom-ref": "pkg:npm/@enormora/eslint-config-base@0.0.37",
28
+ "version": "0.0.39",
29
+ "bom-ref": "pkg:npm/@enormora/eslint-config-base@0.0.39",
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.37"
36
+ "purl": "pkg:npm/@enormora/eslint-config-base@0.0.39"
37
37
  },
38
38
  {
39
39
  "type": "library",
40
40
  "name": "@enormora/eslint-config-react",
41
- "version": "0.0.20",
42
- "bom-ref": "pkg:npm/@enormora/eslint-config-react@0.0.20",
41
+ "version": "0.0.21",
42
+ "bom-ref": "pkg:npm/@enormora/eslint-config-react@0.0.21",
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.20"
49
+ "purl": "pkg:npm/@enormora/eslint-config-react@0.0.21"
50
50
  }
51
51
  ],
52
52
  "dependencies": [
53
53
  {
54
- "ref": "pkg:npm/@enormora/eslint-config-base@0.0.37"
54
+ "ref": "pkg:npm/@enormora/eslint-config-base@0.0.39"
55
55
  },
56
56
  {
57
- "ref": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.36",
57
+ "ref": "pkg:npm/@enormora/eslint-config-react-jsx@0.0.38",
58
58
  "dependsOn": [
59
- "pkg:npm/@enormora/eslint-config-base@0.0.37",
60
- "pkg:npm/@enormora/eslint-config-react@0.0.20"
59
+ "pkg:npm/@enormora/eslint-config-base@0.0.39",
60
+ "pkg:npm/@enormora/eslint-config-react@0.0.21"
61
61
  ]
62
62
  },
63
63
  {
64
- "ref": "pkg:npm/@enormora/eslint-config-react@0.0.20"
64
+ "ref": "pkg:npm/@enormora/eslint-config-react@0.0.21"
65
65
  }
66
66
  ]
67
67
  }