sag_components 1.0.628 → 1.0.630

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.
Files changed (120) hide show
  1. package/.eslintrc.js +5 -1
  2. package/dist/Button.test.js +162 -0
  3. package/dist/LinkButton.test.js +150 -0
  4. package/dist/setupTests.js +3 -0
  5. package/dist/stories/CampaignTool/Card.stories.js +0 -1
  6. package/dist/stories/components/Button.js +163 -81
  7. package/dist/stories/components/Button.style.js +6 -3
  8. package/dist/stories/components/Datepicker.js +0 -4
  9. package/dist/stories/components/DropdownMulti.js +0 -2
  10. package/dist/stories/components/EventInfo.js +92 -0
  11. package/dist/stories/components/EventInfo.style.js +20 -0
  12. package/dist/stories/components/FilterButton.js +4 -10
  13. package/dist/stories/components/FilterButton.style.js +1 -1
  14. package/dist/stories/components/FilterPanel.js +27 -19
  15. package/dist/stories/components/LinkButton.js +161 -0
  16. package/dist/stories/components/LinkButton.style.js +14 -0
  17. package/dist/stories/components/MonthPopupPicker.js +0 -1
  18. package/dist/stories/components/PopupCharts.js +0 -1
  19. package/dist/stories/components/ReportTable.js +12 -2
  20. package/dist/stories/components/SagButton.js +0 -1
  21. package/dist/stories/components/Select.js +0 -1
  22. package/dist/stories/components/icons/BellIcon.js +3 -2
  23. package/dist/stories/components/icons/Duplicate.js +28 -0
  24. package/dist/stories/components/icons/ExitIcon.js +3 -2
  25. package/dist/stories/components/icons/EyeIcon.js +4 -3
  26. package/dist/stories/components/icons/FlyIcon.js +3 -2
  27. package/dist/stories/components/icons/MaintenanceIcon.js +3 -2
  28. package/jest.config.js +7 -0
  29. package/package.json +7 -1
  30. package/.history/.env_20231001120549 +0 -0
  31. package/.history/.env_20231001120613 +0 -1
  32. package/.history/.env_20231003143620 +0 -1
  33. package/.history/.eslintrc_20230928112617.js +0 -26
  34. package/.history/.eslintrc_20230928130534.js +0 -27
  35. package/.history/.eslintrc_20230928133400.js +0 -28
  36. package/.history/.eslintrc_20230928133404.js +0 -28
  37. package/.history/.eslintrc_20230928133416.js +0 -28
  38. package/.history/.eslintrc_20230928133419.js +0 -28
  39. package/.history/.eslintrc_20230928133432.js +0 -28
  40. package/.history/.eslintrc_20230928133439.js +0 -28
  41. package/.history/.eslintrc_20230928133458.js +0 -29
  42. package/.history/.eslintrc_20230928133500.js +0 -28
  43. package/.history/.eslintrc_20230928134009.js +0 -28
  44. package/.history/.eslintrc_20230928135318.js +0 -34
  45. package/.history/.eslintrc_20230928135321.js +0 -34
  46. package/.history/.eslintrc_20230928135323.js +0 -34
  47. package/.history/.eslintrc_20230928135332.js +0 -34
  48. package/.history/.eslintrc_20230928135333.js +0 -34
  49. package/.history/.eslintrc_20230928135352.js +0 -29
  50. package/.history/.eslintrc_20230928135353.js +0 -29
  51. package/.history/.eslintrc_20230928135355.js +0 -29
  52. package/.history/.eslintrc_20230928135408.js +0 -29
  53. package/.history/.eslintrc_20230928135538.js +0 -30
  54. package/.history/.eslintrc_20230928135539.js +0 -30
  55. package/.history/.eslintrc_20230928135543.js +0 -30
  56. package/.history/.gitignore_20230921093332 +0 -119
  57. package/.history/.gitignore_20230921111638 +0 -120
  58. package/.history/.gitignore_20230921111650 +0 -120
  59. package/.history/.gitignore_20230921111810 +0 -121
  60. package/.history/package-lock_20231114111138.json +0 -47810
  61. package/.history/package-lock_20231114111158.json +0 -47802
  62. package/.history/package_20231029152422.json +0 -82
  63. package/.history/package_20231029153420.json +0 -82
  64. package/.history/package_20231029154416.json +0 -82
  65. package/.history/package_20231030094127.json +0 -82
  66. package/.history/package_20231030114707.json +0 -82
  67. package/.history/package_20231030130704.json +0 -82
  68. package/.history/package_20231030132422.json +0 -82
  69. package/.history/package_20231030134051.json +0 -82
  70. package/.history/package_20231030142913.json +0 -82
  71. package/.history/package_20231030143556.json +0 -82
  72. package/.history/package_20231030144210.json +0 -82
  73. package/.history/package_20231101113942.json +0 -82
  74. package/.history/package_20231101114544.json +0 -82
  75. package/.history/package_20231101151518.json +0 -82
  76. package/.history/package_20231101154501.json +0 -82
  77. package/.history/package_20231101155811.json +0 -82
  78. package/.history/package_20231101160235.json +0 -82
  79. package/.history/package_20231101160406.json +0 -82
  80. package/.history/package_20231101161325.json +0 -82
  81. package/.history/package_20231101161333.json +0 -82
  82. package/.history/package_20231102123623.json +0 -82
  83. package/.history/package_20231102125741.json +0 -82
  84. package/.history/package_20231102130857.json +0 -82
  85. package/.history/package_20231102132227.json +0 -82
  86. package/.history/package_20231102142340.json +0 -82
  87. package/.history/package_20231102143256.json +0 -82
  88. package/.history/package_20231105153539.json +0 -82
  89. package/.history/package_20231105154332.json +0 -82
  90. package/.history/package_20231105171201.json +0 -82
  91. package/.history/package_20231106123849.json +0 -82
  92. package/.history/package_20231107170638.json +0 -82
  93. package/.history/package_20231109103647.json +0 -82
  94. package/.history/package_20231109103911.json +0 -82
  95. package/.history/package_20231109105426.json +0 -82
  96. package/.history/package_20231109132014.json +0 -82
  97. package/.history/package_20231109132115.json +0 -82
  98. package/.history/package_20231114100517.json +0 -82
  99. package/.history/package_20231114100859.json +0 -82
  100. package/.history/package_20231114101553.json +0 -82
  101. package/.history/package_20231114102545.json +0 -82
  102. package/.history/package_20231114111208.json +0 -83
  103. package/.history/package_20231114111515.json +0 -83
  104. package/.history/package_20231114112931.json +0 -83
  105. package/.history/package_20231114113014.json +0 -83
  106. package/.history/package_20231114113155.json +0 -83
  107. package/.history/package_20231114124318.json +0 -83
  108. package/.history/package_20231114125107.json +0 -83
  109. package/.history/package_20231114125510.json +0 -83
  110. package/.history/package_20231114132634.json +0 -83
  111. package/.history/package_20231116165815.json +0 -83
  112. package/.history/package_20231116165916.json +0 -83
  113. package/.history/package_20231119113637.json +0 -83
  114. package/.history/package_20231120100907.json +0 -83
  115. package/.history/package_20231121151523.json +0 -77
  116. package/.history/package_20231121155513.json +0 -77
  117. package/.history/package_20231121162434.json +0 -77
  118. package/.history/package_20231122100718.json +0 -77
  119. package/.history/package_20231128125149.json +0 -82
  120. package/.history/package_20231128125208.json +0 -82
@@ -10,7 +10,8 @@ const FlyIcon = _ref => {
10
10
  let {
11
11
  clicked,
12
12
  width = "8",
13
- height = "9"
13
+ height = "9",
14
+ color = '#212121'
14
15
  } = _ref;
15
16
  return /*#__PURE__*/_react.default.createElement("svg", {
16
17
  width: width,
@@ -20,7 +21,7 @@ const FlyIcon = _ref => {
20
21
  xmlns: "http://www.w3.org/2000/svg"
21
22
  }, /*#__PURE__*/_react.default.createElement("path", {
22
23
  d: "M19.4965 0.234375C19.8879 0.507812 20.0836 0.976562 19.9662 1.48438L17.4611 17.6953C17.422 18.0859 17.1871 18.4375 16.8349 18.5938C16.7174 18.6719 16.4826 18.75 16.2478 18.75C16.0912 18.75 15.9346 18.75 15.7389 18.6719L11.042 16.7188L7.67587 19.9219C7.63673 20 7.55844 20 7.48016 20C7.40188 20 7.28446 19.9609 7.20618 19.8047L4.77943 14.0625L0.747903 12.3828C0.317351 12.1875 0.00422266 11.7578 0.00422266 11.3281C-0.0349184 10.8594 0.199928 10.4297 0.630479 10.1562L18.1657 0.195312C18.3614 0.078125 18.5571 0 18.7919 0C19.0268 0 19.2616 0.078125 19.4965 0.234375ZM1.25674 11.25L4.81857 12.7734L16.1303 2.77344L1.25674 11.25ZM7.83243 18.0859L9.86777 16.1328L8.53697 15.5859C8.34127 15.5469 8.22384 15.3906 8.14556 15.1953C8.10642 15 8.14556 14.8047 8.26298 14.6484L14.8778 5.54688L5.91452 13.4766L7.83243 18.0859ZM16.2869 17.3438L18.5571 2.61719L9.75034 14.7266L16.2869 17.3438Z",
23
- fill: "#1B30AA"
24
+ fill: color
24
25
  }));
25
26
  };
26
27
  exports.FlyIcon = FlyIcon;
@@ -10,7 +10,8 @@ const MaintenanceIcon = _ref => {
10
10
  let {
11
11
  clicked,
12
12
  width = "8",
13
- height = "9"
13
+ height = "9",
14
+ color = '#212121'
14
15
  } = _ref;
15
16
  return /*#__PURE__*/_react.default.createElement("svg", {
16
17
  width: width,
@@ -20,7 +21,7 @@ const MaintenanceIcon = _ref => {
20
21
  xmlns: "http://www.w3.org/2000/svg"
21
22
  }, /*#__PURE__*/_react.default.createElement("path", {
22
23
  d: "M10.0701 20.5C7.88257 20.5 7.10132 20.0703 7.10132 19.1328V17.5703C6.47632 17.3359 5.92944 16.9844 5.42163 16.6328L4.09351 17.375C3.89819 17.4922 3.70288 17.5312 3.50757 17.5312C2.06226 17.5312 0.499756 13.9375 0.499756 13.3125C0.499756 12.8828 0.734131 12.4531 1.12476 12.2578L2.45288 11.4766C2.45288 11.1641 2.41382 10.8125 2.41382 10.5C2.41382 10.1484 2.45288 9.83594 2.49194 9.52344L1.16382 8.78125C0.773193 8.58594 0.538818 8.15625 0.538818 7.72656C0.538818 7.25781 2.02319 3.46875 3.50757 3.46875C3.74194 3.46875 3.93726 3.54688 4.13257 3.66406L5.46069 4.40625C5.96851 4.05469 6.51538 3.70312 7.10132 3.46875V1.90625C7.10132 0.695312 8.50757 0.5 10.1091 0.5C11.6326 0.5 13.0388 0.695312 13.0388 1.90625V3.46875C13.6248 3.70312 14.1716 4.01562 14.6794 4.40625L16.0076 3.66406C16.2029 3.54688 16.3982 3.50781 16.6326 3.50781C18.0388 3.50781 19.6013 7.10156 19.6013 7.72656C19.6013 8.15625 19.3669 8.58594 18.9763 8.78125L17.6482 9.5625C17.6873 9.875 17.7263 10.1875 17.7263 10.5C17.7263 10.8125 17.6873 11.1641 17.6482 11.4766L18.9763 12.2578C19.3669 12.4531 19.6013 12.8828 19.6013 13.3125C19.6013 13.7812 18.1169 17.5312 16.6326 17.5312C16.3982 17.5312 16.2029 17.4922 16.0076 17.375L14.6794 16.6328C14.1716 16.9844 13.6248 17.3359 13.0388 17.5703V19.1328C13.0779 20.0703 12.2966 20.5 10.0701 20.5ZM5.57788 15.1094C6.98413 16.3203 7.64819 16.4375 8.35132 16.7109V19.1328C8.93726 19.2109 9.48413 19.25 10.0701 19.25C10.656 19.25 11.2419 19.2109 11.8279 19.0938L11.7888 16.7109C12.4529 16.4766 13.1951 16.2812 14.5623 15.1094L16.6716 16.3203C17.4138 15.4609 17.9998 14.4453 18.3513 13.3125L16.3201 12.1406C16.3982 11.5547 16.4763 11.125 16.4763 10.5781C16.4763 10.1875 16.4373 9.67969 16.3201 8.89844L18.3904 7.72656C17.9998 6.63281 17.4138 5.61719 16.6326 4.71875L14.5623 5.92969C13.1951 4.71875 12.531 4.60156 11.7888 4.32812V1.90625C11.2419 1.82812 10.6951 1.78906 10.1091 1.78906C9.52319 1.78906 8.93726 1.82812 8.31226 1.94531L8.35132 4.32812C7.72632 4.5625 6.98413 4.71875 5.57788 5.92969L3.50757 4.71875C2.76538 5.61719 2.17944 6.63281 1.78882 7.76562L3.85913 8.89844C3.78101 9.48438 3.70288 9.91406 3.70288 10.4219C3.70288 10.8516 3.74194 11.3594 3.85913 12.1016L1.78882 13.3125C2.17944 14.3672 2.76538 15.3828 3.54663 16.2812L5.57788 15.1094ZM10.1091 14.25C8.03882 14.25 6.35913 12.5703 6.35913 10.5C6.35913 8.42969 8.03882 6.75 10.1091 6.75C12.1404 6.75 13.8591 8.42969 13.8591 10.5C13.8591 12.5703 12.1404 14.25 10.1091 14.25ZM10.1091 8C8.70288 8 7.60913 9.09375 7.60913 10.5C7.60913 11.8672 8.70288 13 10.1091 13C11.4763 13 12.6091 11.8672 12.6091 10.5C12.6091 9.09375 11.4763 8 10.1091 8Z",
23
- fill: "#1B30AA"
24
+ fill: color
24
25
  }));
25
26
  };
26
27
  exports.MaintenanceIcon = MaintenanceIcon;
package/jest.config.js ADDED
@@ -0,0 +1,7 @@
1
+ // jest.config.js
2
+ module.exports = {
3
+ testEnvironment: 'jsdom',
4
+ setupFilesAfterEnv: ['<rootDir>/src/setupTests.js'],
5
+ moduleFileExtensions: ['js', 'jsx'],
6
+ testMatch: ['<rootDir>/src/**/*.test.{js,jsx}'],
7
+ };
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.628",
3
+ "version": "1.0.630",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
7
7
  "start": "react-scripts start",
8
+ "test": "jest",
8
9
  "lint": "eslint .",
9
10
  "build": "cross-env BABEL_ENV=production babel src -d dist ",
10
11
  "storybook": "storybook dev -p 6006",
@@ -31,6 +32,8 @@
31
32
  "@storybook/react-webpack5": "^7.4.6",
32
33
  "@storybook/testing-library": "^0.2.2",
33
34
  "@storybook/theming": "^7.5.3",
35
+ "@testing-library/jest-dom": "^6.4.5",
36
+ "@testing-library/react": "^15.0.7",
34
37
  "babel-plugin-react-css-modules": "^5.2.6",
35
38
  "babel-preset-react-app": "^10.0.1",
36
39
  "cross-env": "^7.0.3",
@@ -38,9 +41,12 @@
38
41
  "eslint": "^8.56.0",
39
42
  "eslint-config-airbnb": "^19.0.4",
40
43
  "eslint-plugin-import": "^2.29.1",
44
+ "eslint-plugin-jest": "^28.5.0",
41
45
  "eslint-plugin-jsx-a11y": "^6.8.0",
42
46
  "eslint-plugin-react": "^7.34.1",
43
47
  "eslint-plugin-react-hooks": "^4.6.2",
48
+ "jest": "^29.7.0",
49
+ "jest-environment-jsdom": "^29.7.0",
44
50
  "react-dom": "^18.2.0",
45
51
  "react-scripts": "^5.0.1",
46
52
  "sass": "^1.74.1",
File without changes
@@ -1 +0,0 @@
1
- STORYBOOK_FIGMA_ACCESS_TOKEN=figd_YdAmQQKQ2B6ZngEijA0JiqNNUdJvP23G46NK7-fc
@@ -1 +0,0 @@
1
- STORYBOOK_FIGMA_ACCESS_TOKEN=figd_MOcc8-aS91XJ3mFdtNlH4oPVY73ChHlmw6-hKhsb
@@ -1,26 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- },
26
- };
@@ -1,27 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- },
27
- };
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- /*eslint linebreak-style: ["error", "windows"]*/
27
- },
28
- };
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- eslint linebreak-style: ["error", "windows"]
27
- },
28
- };
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- linebreak-style: ["error", "windows"]
27
- },
28
- };
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': ["error", "windows"]
27
- },
28
- };
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': ['error', 'windows']
27
- },
28
- };
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': ['error', 'windows'],
27
- },
28
- };
@@ -1,29 +0,0 @@
1
- /* eslint-disable linebreak-style */
2
- module.exports = {
3
- env: {
4
- browser: true,
5
- es2021: true,
6
- },
7
- extends: 'airbnb',
8
- overrides: [
9
- {
10
- env: {
11
- node: true,
12
- },
13
- files: [
14
- '.eslintrc.{js,cjs}',
15
- ],
16
- parserOptions: {
17
- sourceType: 'script',
18
- },
19
- },
20
- ],
21
- parserOptions: {
22
- ecmaVersion: 'latest',
23
- sourceType: 'module',
24
- },
25
- rules: {
26
- 'max-len': 'off',
27
- 'linebreak-style': ['error', 'windows'],
28
- },
29
- };
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': ['error', 'windows'],
27
- },
28
- };
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': 0,
27
- },
28
- };
@@ -1,34 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': 0,
27
- "react/function-component-definition": [
28
- 2,
29
- {
30
- namedComponents: "function-declaration",
31
- },
32
- ],
33
- },
34
- };
@@ -1,34 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': 0,
27
- 'react/function-component-definition": [
28
- 2,
29
- {
30
- namedComponents: "function-declaration",
31
- },
32
- ],
33
- },
34
- };
@@ -1,34 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': 0,
27
- 'react/function-component-definition': [
28
- 2,
29
- {
30
- namedComponents: "function-declaration",
31
- },
32
- ],
33
- },
34
- };
@@ -1,34 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': 0,
27
- 'react/function-component-definition': [
28
- 2,
29
- {
30
- namedComponents: 'function-declaration",
31
- },
32
- ],
33
- },
34
- };
@@ -1,34 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': 0,
27
- 'react/function-component-definition': [
28
- 2,
29
- {
30
- namedComponents: 'function-declaration',
31
- },
32
- ],
33
- },
34
- };
@@ -1,29 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': 0,
27
- 'react/function-component-definition': ''
28
- },
29
- };
@@ -1,29 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': 0,
27
- 'react/function-component-definition': 'off'
28
- },
29
- };
@@ -1,29 +0,0 @@
1
- module.exports = {
2
- env: {
3
- browser: true,
4
- es2021: true,
5
- },
6
- extends: 'airbnb',
7
- overrides: [
8
- {
9
- env: {
10
- node: true,
11
- },
12
- files: [
13
- '.eslintrc.{js,cjs}',
14
- ],
15
- parserOptions: {
16
- sourceType: 'script',
17
- },
18
- },
19
- ],
20
- parserOptions: {
21
- ecmaVersion: 'latest',
22
- sourceType: 'module',
23
- },
24
- rules: {
25
- 'max-len': 'off',
26
- 'linebreak-style': 0,
27
- 'react/function-component-definition': 'off',
28
- },
29
- };