@zohodesk/react-cli 0.0.1-exp.166.2 → 0.0.1-exp.168.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. package/.eslintignore +7 -7
  2. package/.eslintrc.js +179 -179
  3. package/README.md +925 -877
  4. package/bin/cli.js +492 -487
  5. package/cert/Tsicsezwild-22-23.crt +37 -0
  6. package/cert/Tsicsezwild-22-23.key +27 -0
  7. package/docs/CustomChunks.md +26 -26
  8. package/docs/DevStart.md +18 -0
  9. package/docs/InstallNode.md +28 -0
  10. package/docs/TODOS.md +10 -10
  11. package/docs/ValueReplacer.md +60 -60
  12. package/docs/warnings_while_install.txt +35 -35
  13. package/files/eslintrc.js +62 -62
  14. package/files/prettierrc.js +3 -3
  15. package/lib/configs/webpack.css.umd.config.js +4 -4
  16. package/lib/configs/webpack.dev.config.js +13 -17
  17. package/lib/configs/webpack.docs.config.js +11 -16
  18. package/lib/configs/webpack.impact.config.js +6 -14
  19. package/lib/configs/webpack.prod.config.js +8 -5
  20. package/lib/loaderUtils/configsAssetsLoaders.js +88 -0
  21. package/lib/loaderUtils/getCSSLoaders.js +5 -3
  22. package/lib/loaders/workerLoader.js +9 -9
  23. package/lib/pluginUtils/getDevPlugins.js +5 -5
  24. package/lib/pluginUtils/getProdPlugins.js +5 -5
  25. package/lib/plugins/EFCPlugin.md +6 -6
  26. package/lib/plugins/I18NInjectIntoIndexPlugin.js +4 -4
  27. package/lib/plugins/I18nSplitPlugin/I18nDownlodLogic.js +38 -38
  28. package/lib/plugins/I18nSplitPlugin/I18nFilesEmitter.js +30 -30
  29. package/lib/plugins/I18nSplitPlugin/I18nKeysIdentifer.js +8 -8
  30. package/lib/plugins/I18nSplitPlugin/I18nSplit.md +86 -86
  31. package/lib/plugins/I18nSplitPlugin/README.md +25 -25
  32. package/lib/plugins/I18nSplitPlugin/index.js +57 -57
  33. package/lib/plugins/ResourceHintsPlugin.js +17 -17
  34. package/lib/plugins/RtlSplitPlugin/RtlCssPlugin.js +6 -6
  35. package/lib/plugins/RtlSplitPlugin/RtrSplit.md +30 -30
  36. package/lib/plugins/ServiceWorkerPlugin.js +9 -9
  37. package/lib/plugins/TPHashMappingPlugin.js +4 -4
  38. package/lib/postcss-plugins/RTLSplitPlugin.js +10 -10
  39. package/lib/postcss-plugins/hoverActivePlugin.js +357 -0
  40. package/lib/postcss-plugins/keyframesPlugin.js +126 -0
  41. package/lib/schemas/index.js +23 -2
  42. package/lib/servers/{devBulid.js → devBuild.js} +7 -3
  43. package/lib/servers/httpsOptions.js +2 -3
  44. package/lib/servers/nowatchserver.js +2 -2
  45. package/lib/servers/server.js +11 -3
  46. package/lib/sh/pre-commit.sh +34 -34
  47. package/lib/sh/reportPublish.sh +45 -45
  48. package/lib/utils/buildstats.html +148 -148
  49. package/lib/utils/repoClone.js +5 -2
  50. package/lib/utils/resultSchema.json +73 -73
  51. package/npm8.md +9 -9
  52. package/package.json +148 -144
  53. package/postpublish.js +6 -0
  54. package/templates/app/.eslintrc.js +140 -140
  55. package/templates/app/README.md +12 -12
  56. package/templates/app/app/index.html +24 -24
  57. package/templates/app/app/properties/ApplicationResources_en_US.properties +1 -1
  58. package/templates/app/app/properties/i18nkeys.json +3 -3
  59. package/templates/app/docs/all.html +69 -69
  60. package/templates/app/mockapi/index.js +18 -18
  61. package/templates/app/package.json +37 -37
  62. package/templates/app/src/actions/SampleActions/index.js +37 -37
  63. package/templates/app/src/actions/index.js +65 -65
  64. package/templates/app/src/appUrls.js +19 -19
  65. package/templates/app/src/components/Alert/Alert.js +134 -134
  66. package/templates/app/src/components/Alert/Alert.module.css +79 -79
  67. package/templates/app/src/components/FreezeLayer/FreezeLayer.css +37 -37
  68. package/templates/app/src/components/FreezeLayer/FreezeLayer.js +84 -84
  69. package/templates/app/src/components/Sample/Sample.module.css +11 -11
  70. package/templates/app/src/components/Sample/SampleList.js +61 -61
  71. package/templates/app/src/components/Slider/Slider.css +41 -41
  72. package/templates/app/src/components/Slider/Slider.js +55 -55
  73. package/templates/app/src/containers/AlertContainer/index.js +15 -15
  74. package/templates/app/src/containers/AppContainer/index.js +96 -96
  75. package/templates/app/src/containers/AppContainer/index.module.css +27 -27
  76. package/templates/app/src/containers/CustomMatch/index.js +65 -65
  77. package/templates/app/src/containers/DevTools/index.js +10 -10
  78. package/templates/app/src/containers/Header/index.js +67 -67
  79. package/templates/app/src/containers/Header/index.module.css +43 -43
  80. package/templates/app/src/containers/Redirect/index.js +63 -63
  81. package/templates/app/src/containers/Redirector/index.js +47 -47
  82. package/templates/app/src/containers/SampleListContainer/ListContainer.js +42 -42
  83. package/templates/app/src/containers/SampleListContainer/ListContainer.module.css +3 -3
  84. package/templates/app/src/historyChange.js +5 -5
  85. package/templates/app/src/index.html +10 -10
  86. package/templates/app/src/index.js +24 -24
  87. package/templates/app/src/middleware/PromiseMiddleware.js +59 -59
  88. package/templates/app/src/reducers/alertData.js +11 -11
  89. package/templates/app/src/reducers/index.js +6 -6
  90. package/templates/app/src/reducers/samples.js +19 -19
  91. package/templates/app/src/store/configureStore.dev.js +51 -51
  92. package/templates/app/src/store/configureStore.js +5 -5
  93. package/templates/app/src/store/configureStore.prod.js +26 -26
  94. package/templates/app/src/util/Common.js +5 -5
  95. package/templates/app/src/util/RequestAPI.js +132 -132
  96. package/templates/docs/all.html +249 -249
  97. package/templates/docs/component.html +178 -178
  98. package/templates/docs/components.html +221 -221
  99. package/templates/docs/css/b.min.css +6 -6
  100. package/templates/docs/css/component.css +42 -42
  101. package/templates/docs/css/componentTest.css +6 -6
  102. package/templates/docs/css/hopscotch.css +585 -585
  103. package/templates/docs/css/style.css +1022 -1022
  104. package/templates/docs/impactReportTemplate.html +154 -154
  105. package/templates/docs/index.html +1493 -1493
  106. package/templates/docs/js/active-line.js +72 -72
  107. package/templates/docs/js/b.min.js +7 -7
  108. package/templates/docs/js/codemirror.js +9680 -9680
  109. package/templates/docs/js/designTokens.js +334 -334
  110. package/templates/docs/js/j.min.js +4 -4
  111. package/templates/docs/js/javascript.js +874 -874
  112. package/templates/docs/js/matchbrackets.js +145 -145
  113. package/DOTO.md +0 -13
  114. package/cert/cert.pem +0 -37
  115. package/cert/key.pem +0 -27
  116. package/cert/passphrase.pem +0 -1
  117. package/eslint/NOTES.md +0 -3
  118. package/eslint/a23.c +0 -16
  119. package/eslint/a28.c +0 -25
  120. package/eslint/a29.c +0 -25
  121. package/eslint/a30.c +0 -29
  122. package/eslint/a31.c +0 -23
  123. package/eslint/a35.c +0 -23
  124. package/eslint/a36.c +0 -18
  125. package/eslint/a37.c +0 -25
  126. package/eslint/a38.c +0 -28
  127. package/eslint/a39.c +0 -17
  128. package/eslint/a40.c +0 -32
  129. package/eslint/mockapi.html +0 -18
  130. package/eslint/mockapi.md +0 -5
@@ -1,145 +1,145 @@
1
- // CodeMirror, copyright (c) by Marijn Haverbeke and others
2
- // Distributed under an MIT license: http://codemirror.net/LICENSE
3
-
4
- (function(mod) {
5
- if (typeof exports == "object" && typeof module == "object") // CommonJS
6
- mod(require("../../lib/codemirror"));
7
- else if (typeof define == "function" && define.amd) // AMD
8
- define(["../../lib/codemirror"], mod);
9
- else // Plain browser env
10
- mod(CodeMirror);
11
- })(function(CodeMirror) {
12
- var ie_lt8 = /MSIE \d/.test(navigator.userAgent) &&
13
- (document.documentMode == null || document.documentMode < 8);
14
-
15
- var Pos = CodeMirror.Pos;
16
-
17
- var matching = {"(": ")>", ")": "(<", "[": "]>", "]": "[<", "{": "}>", "}": "{<"};
18
-
19
- function findMatchingBracket(cm, where, config) {
20
- var line = cm.getLineHandle(where.line), pos = where.ch - 1;
21
- var afterCursor = config && config.afterCursor
22
- if (afterCursor == null)
23
- afterCursor = /(^| )cm-fat-cursor($| )/.test(cm.getWrapperElement().className)
24
-
25
- // A cursor is defined as between two characters, but in in vim command mode
26
- // (i.e. not insert mode), the cursor is visually represented as a
27
- // highlighted box on top of the 2nd character. Otherwise, we allow matches
28
- // from before or after the cursor.
29
- var match = (!afterCursor && pos >= 0 && matching[line.text.charAt(pos)]) ||
30
- matching[line.text.charAt(++pos)];
31
- if (!match) return null;
32
- var dir = match.charAt(1) == ">" ? 1 : -1;
33
- if (config && config.strict && (dir > 0) != (pos == where.ch)) return null;
34
- var style = cm.getTokenTypeAt(Pos(where.line, pos + 1));
35
-
36
- var found = scanForBracket(cm, Pos(where.line, pos + (dir > 0 ? 1 : 0)), dir, style || null, config);
37
- if (found == null) return null;
38
- return {from: Pos(where.line, pos), to: found && found.pos,
39
- match: found && found.ch == match.charAt(0), forward: dir > 0};
40
- }
41
-
42
- // bracketRegex is used to specify which type of bracket to scan
43
- // should be a regexp, e.g. /[[\]]/
44
- //
45
- // Note: If "where" is on an open bracket, then this bracket is ignored.
46
- //
47
- // Returns false when no bracket was found, null when it reached
48
- // maxScanLines and gave up
49
- function scanForBracket(cm, where, dir, style, config) {
50
- var maxScanLen = (config && config.maxScanLineLength) || 10000;
51
- var maxScanLines = (config && config.maxScanLines) || 1000;
52
-
53
- var stack = [];
54
- var re = config && config.bracketRegex ? config.bracketRegex : /[(){}[\]]/;
55
- var lineEnd = dir > 0 ? Math.min(where.line + maxScanLines, cm.lastLine() + 1)
56
- : Math.max(cm.firstLine() - 1, where.line - maxScanLines);
57
- for (var lineNo = where.line; lineNo != lineEnd; lineNo += dir) {
58
- var line = cm.getLine(lineNo);
59
- if (!line) continue;
60
- var pos = dir > 0 ? 0 : line.length - 1, end = dir > 0 ? line.length : -1;
61
- if (line.length > maxScanLen) continue;
62
- if (lineNo == where.line) pos = where.ch - (dir < 0 ? 1 : 0);
63
- for (; pos != end; pos += dir) {
64
- var ch = line.charAt(pos);
65
- if (re.test(ch) && (style === undefined || cm.getTokenTypeAt(Pos(lineNo, pos + 1)) == style)) {
66
- var match = matching[ch];
67
- if ((match.charAt(1) == ">") == (dir > 0)) stack.push(ch);
68
- else if (!stack.length) return {pos: Pos(lineNo, pos), ch: ch};
69
- else stack.pop();
70
- }
71
- }
72
- }
73
- return lineNo - dir == (dir > 0 ? cm.lastLine() : cm.firstLine()) ? false : null;
74
- }
75
-
76
- function matchBrackets(cm, autoclear, config) {
77
- // Disable brace matching in long lines, since it'll cause hugely slow updates
78
- var maxHighlightLen = cm.state.matchBrackets.maxHighlightLineLength || 1000;
79
- var marks = [], ranges = cm.listSelections();
80
- for (var i = 0; i < ranges.length; i++) {
81
- var match = ranges[i].empty() && findMatchingBracket(cm, ranges[i].head, config);
82
- if (match && cm.getLine(match.from.line).length <= maxHighlightLen) {
83
- var style = match.match ? "CodeMirror-matchingbracket" : "CodeMirror-nonmatchingbracket";
84
- marks.push(cm.markText(match.from, Pos(match.from.line, match.from.ch + 1), {className: style}));
85
- if (match.to && cm.getLine(match.to.line).length <= maxHighlightLen)
86
- marks.push(cm.markText(match.to, Pos(match.to.line, match.to.ch + 1), {className: style}));
87
- }
88
- }
89
-
90
- if (marks.length) {
91
- // Kludge to work around the IE bug from issue #1193, where text
92
- // input stops going to the textare whever this fires.
93
- if (ie_lt8 && cm.state.focused) cm.focus();
94
-
95
- var clear = function() {
96
- cm.operation(function() {
97
- for (var i = 0; i < marks.length; i++) marks[i].clear();
98
- });
99
- };
100
- if (autoclear) setTimeout(clear, 800);
101
- else return clear;
102
- }
103
- }
104
-
105
- function doMatchBrackets(cm) {
106
- cm.operation(function() {
107
- if (cm.state.matchBrackets.currentlyHighlighted) {
108
- cm.state.matchBrackets.currentlyHighlighted();
109
- cm.state.matchBrackets.currentlyHighlighted = null;
110
- }
111
- cm.state.matchBrackets.currentlyHighlighted = matchBrackets(cm, false, cm.state.matchBrackets);
112
- });
113
- }
114
-
115
- CodeMirror.defineOption("matchBrackets", false, function(cm, val, old) {
116
- if (old && old != CodeMirror.Init) {
117
- cm.off("cursorActivity", doMatchBrackets);
118
- if (cm.state.matchBrackets && cm.state.matchBrackets.currentlyHighlighted) {
119
- cm.state.matchBrackets.currentlyHighlighted();
120
- cm.state.matchBrackets.currentlyHighlighted = null;
121
- }
122
- }
123
- if (val) {
124
- cm.state.matchBrackets = typeof val == "object" ? val : {};
125
- cm.on("cursorActivity", doMatchBrackets);
126
- }
127
- });
128
-
129
- CodeMirror.defineExtension("matchBrackets", function() {matchBrackets(this, true);});
130
- CodeMirror.defineExtension("findMatchingBracket", function(pos, config, oldConfig){
131
- // Backwards-compatibility kludge
132
- if (oldConfig || typeof config == "boolean") {
133
- if (!oldConfig) {
134
- config = config ? {strict: true} : null
135
- } else {
136
- oldConfig.strict = config
137
- config = oldConfig
138
- }
139
- }
140
- return findMatchingBracket(this, pos, config)
141
- });
142
- CodeMirror.defineExtension("scanForBracket", function(pos, dir, style, config){
143
- return scanForBracket(this, pos, dir, style, config);
144
- });
145
- });
1
+ // CodeMirror, copyright (c) by Marijn Haverbeke and others
2
+ // Distributed under an MIT license: http://codemirror.net/LICENSE
3
+
4
+ (function(mod) {
5
+ if (typeof exports == "object" && typeof module == "object") // CommonJS
6
+ mod(require("../../lib/codemirror"));
7
+ else if (typeof define == "function" && define.amd) // AMD
8
+ define(["../../lib/codemirror"], mod);
9
+ else // Plain browser env
10
+ mod(CodeMirror);
11
+ })(function(CodeMirror) {
12
+ var ie_lt8 = /MSIE \d/.test(navigator.userAgent) &&
13
+ (document.documentMode == null || document.documentMode < 8);
14
+
15
+ var Pos = CodeMirror.Pos;
16
+
17
+ var matching = {"(": ")>", ")": "(<", "[": "]>", "]": "[<", "{": "}>", "}": "{<"};
18
+
19
+ function findMatchingBracket(cm, where, config) {
20
+ var line = cm.getLineHandle(where.line), pos = where.ch - 1;
21
+ var afterCursor = config && config.afterCursor
22
+ if (afterCursor == null)
23
+ afterCursor = /(^| )cm-fat-cursor($| )/.test(cm.getWrapperElement().className)
24
+
25
+ // A cursor is defined as between two characters, but in in vim command mode
26
+ // (i.e. not insert mode), the cursor is visually represented as a
27
+ // highlighted box on top of the 2nd character. Otherwise, we allow matches
28
+ // from before or after the cursor.
29
+ var match = (!afterCursor && pos >= 0 && matching[line.text.charAt(pos)]) ||
30
+ matching[line.text.charAt(++pos)];
31
+ if (!match) return null;
32
+ var dir = match.charAt(1) == ">" ? 1 : -1;
33
+ if (config && config.strict && (dir > 0) != (pos == where.ch)) return null;
34
+ var style = cm.getTokenTypeAt(Pos(where.line, pos + 1));
35
+
36
+ var found = scanForBracket(cm, Pos(where.line, pos + (dir > 0 ? 1 : 0)), dir, style || null, config);
37
+ if (found == null) return null;
38
+ return {from: Pos(where.line, pos), to: found && found.pos,
39
+ match: found && found.ch == match.charAt(0), forward: dir > 0};
40
+ }
41
+
42
+ // bracketRegex is used to specify which type of bracket to scan
43
+ // should be a regexp, e.g. /[[\]]/
44
+ //
45
+ // Note: If "where" is on an open bracket, then this bracket is ignored.
46
+ //
47
+ // Returns false when no bracket was found, null when it reached
48
+ // maxScanLines and gave up
49
+ function scanForBracket(cm, where, dir, style, config) {
50
+ var maxScanLen = (config && config.maxScanLineLength) || 10000;
51
+ var maxScanLines = (config && config.maxScanLines) || 1000;
52
+
53
+ var stack = [];
54
+ var re = config && config.bracketRegex ? config.bracketRegex : /[(){}[\]]/;
55
+ var lineEnd = dir > 0 ? Math.min(where.line + maxScanLines, cm.lastLine() + 1)
56
+ : Math.max(cm.firstLine() - 1, where.line - maxScanLines);
57
+ for (var lineNo = where.line; lineNo != lineEnd; lineNo += dir) {
58
+ var line = cm.getLine(lineNo);
59
+ if (!line) continue;
60
+ var pos = dir > 0 ? 0 : line.length - 1, end = dir > 0 ? line.length : -1;
61
+ if (line.length > maxScanLen) continue;
62
+ if (lineNo == where.line) pos = where.ch - (dir < 0 ? 1 : 0);
63
+ for (; pos != end; pos += dir) {
64
+ var ch = line.charAt(pos);
65
+ if (re.test(ch) && (style === undefined || cm.getTokenTypeAt(Pos(lineNo, pos + 1)) == style)) {
66
+ var match = matching[ch];
67
+ if ((match.charAt(1) == ">") == (dir > 0)) stack.push(ch);
68
+ else if (!stack.length) return {pos: Pos(lineNo, pos), ch: ch};
69
+ else stack.pop();
70
+ }
71
+ }
72
+ }
73
+ return lineNo - dir == (dir > 0 ? cm.lastLine() : cm.firstLine()) ? false : null;
74
+ }
75
+
76
+ function matchBrackets(cm, autoclear, config) {
77
+ // Disable brace matching in long lines, since it'll cause hugely slow updates
78
+ var maxHighlightLen = cm.state.matchBrackets.maxHighlightLineLength || 1000;
79
+ var marks = [], ranges = cm.listSelections();
80
+ for (var i = 0; i < ranges.length; i++) {
81
+ var match = ranges[i].empty() && findMatchingBracket(cm, ranges[i].head, config);
82
+ if (match && cm.getLine(match.from.line).length <= maxHighlightLen) {
83
+ var style = match.match ? "CodeMirror-matchingbracket" : "CodeMirror-nonmatchingbracket";
84
+ marks.push(cm.markText(match.from, Pos(match.from.line, match.from.ch + 1), {className: style}));
85
+ if (match.to && cm.getLine(match.to.line).length <= maxHighlightLen)
86
+ marks.push(cm.markText(match.to, Pos(match.to.line, match.to.ch + 1), {className: style}));
87
+ }
88
+ }
89
+
90
+ if (marks.length) {
91
+ // Kludge to work around the IE bug from issue #1193, where text
92
+ // input stops going to the textare whever this fires.
93
+ if (ie_lt8 && cm.state.focused) cm.focus();
94
+
95
+ var clear = function() {
96
+ cm.operation(function() {
97
+ for (var i = 0; i < marks.length; i++) marks[i].clear();
98
+ });
99
+ };
100
+ if (autoclear) setTimeout(clear, 800);
101
+ else return clear;
102
+ }
103
+ }
104
+
105
+ function doMatchBrackets(cm) {
106
+ cm.operation(function() {
107
+ if (cm.state.matchBrackets.currentlyHighlighted) {
108
+ cm.state.matchBrackets.currentlyHighlighted();
109
+ cm.state.matchBrackets.currentlyHighlighted = null;
110
+ }
111
+ cm.state.matchBrackets.currentlyHighlighted = matchBrackets(cm, false, cm.state.matchBrackets);
112
+ });
113
+ }
114
+
115
+ CodeMirror.defineOption("matchBrackets", false, function(cm, val, old) {
116
+ if (old && old != CodeMirror.Init) {
117
+ cm.off("cursorActivity", doMatchBrackets);
118
+ if (cm.state.matchBrackets && cm.state.matchBrackets.currentlyHighlighted) {
119
+ cm.state.matchBrackets.currentlyHighlighted();
120
+ cm.state.matchBrackets.currentlyHighlighted = null;
121
+ }
122
+ }
123
+ if (val) {
124
+ cm.state.matchBrackets = typeof val == "object" ? val : {};
125
+ cm.on("cursorActivity", doMatchBrackets);
126
+ }
127
+ });
128
+
129
+ CodeMirror.defineExtension("matchBrackets", function() {matchBrackets(this, true);});
130
+ CodeMirror.defineExtension("findMatchingBracket", function(pos, config, oldConfig){
131
+ // Backwards-compatibility kludge
132
+ if (oldConfig || typeof config == "boolean") {
133
+ if (!oldConfig) {
134
+ config = config ? {strict: true} : null
135
+ } else {
136
+ oldConfig.strict = config
137
+ config = oldConfig
138
+ }
139
+ }
140
+ return findMatchingBracket(this, pos, config)
141
+ });
142
+ CodeMirror.defineExtension("scanForBracket", function(pos, dir, style, config){
143
+ return scanForBracket(this, pos, dir, style, config);
144
+ });
145
+ });
package/DOTO.md DELETED
@@ -1,13 +0,0 @@
1
- Things that can be done
2
-
3
- 1. react-cli total revamp dependency packages version update (must for future (2-4 months) But not problem for now)
4
- 1. when we do revamp we may can to create a document with full detailed.
5
- 2. react-cli find the chain set for 0.0.1-alpha.113 version (must for future( 20 may 2022 ) But not problem for now) -- DONE
6
- 3. react version update 17 or 18 (must for future (until desk as efc or until get confilct with gc or some kind) But not problem for now)
7
- 1. if we move react 18, may be I can remove some hacks form virtualizer. we put hacks for batching since react 18 has auto batch we can remove that
8
- 2. same for react-dnd
9
- 4. react-cli package split (good to have)
10
- 5. efc unification (must for good future (2-4 months) But not problem for now)
11
- 6. i18n build as separate then client build I have some Ideas with some drawbacks (good to have)
12
- 7. react own implmention (good to have and also have a posiblity for Diamonds since it can lead as to some thing great for example preformance enforceing like always PureComponent , built in context optimazation, and issue fix we found in react reorder preformance problem. In my point of view react highly focus on declarative rather then preformance in some places may be there is reason but we may not have a use for that reason, and in some place I need to bend like hell to make what I want)
13
- 8. all repo links and build process and documention for steps
package/cert/cert.pem DELETED
@@ -1,37 +0,0 @@
1
- -----BEGIN CERTIFICATE-----
2
- MIIGXjCCBUagAwIBAgIQAtcYpsFFTaNHj+IMkHFT4TANBgkqhkiG9w0BAQsFADCB
3
- jzELMAkGA1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Xan6wTgn5oXRILhi36rAoc66EL7f3OSItVqSqkS1pmQu0145ynedAoGBAM+M
16
- /vhJ50H5rfYacccGOr+43ZYY1czGcxXlJ53SREjP3KVQI4jLp6oxGJcx94ji6IDh
17
- OTBpyHzvHEyrF5KB5/421Z2ocQZeeFjEW3GipaK0yDM0UOU+yhi4fNGpBvcglTCA
18
- dSddJ2ASkfecZogHdF1mmCNVtVxWBgCuG5B0TLyxAoGAS2K7SobWQb+eoLzoUHkt
19
- LtBCrhNeOVhWg6TlgH0xdZ+9/ouJB6ZQ5b9lAnAoeMcxSmS5JR3Lxk0WrsEfuf/3
20
- VU9vR4r2ycCuM+osDimIa7vjvN55eEY4qpgey+NKbUG0fhJBQ5bY3pOcfEAwyNY2
21
- bI49hbT7IWpFgQovYyvH3PkCgYEAzwtHWqZWtQD+4g+1SqZTOuiO2+nAdjvNmJz1
22
- rUGRbtU0thDAsfj/NA8wCbwFxB8fc1m59CrCnqblIzJWHIfMx1MqO9FJluHsyhhv
23
- ZGetNieDw1jADkBZ2NlJYtlsImD1kuHCfNc3rWY5CLqTqcVN9tKemDkq54bFDC6j
24
- PrJVzrECgYEAw2FfcfxLcsst6wPzGQScFo2c3ryf6QangNC2qg+QRJ7V4Yh3BJmr
25
- NMFEXguehX4gT6iQ0MN5/Yt67IAxlP0vlO9fChPeG6DFiyGH7gNuIY1WngI8hXwK
26
- ezMfJldH/sjKtawm6LyRk2VmUFe+HYiXO4eZxDuj4tRi/kgGnipYwlI=
27
- -----END RSA PRIVATE KEY-----
@@ -1 +0,0 @@
1
- Nb@$#3NGscc
package/eslint/NOTES.md DELETED
@@ -1,3 +0,0 @@
1
- Suggestions :
2
-
3
- 1. 'lint-setup', 'add-lint-scripts' not need to exposed
package/eslint/a23.c DELETED
@@ -1,16 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 23
4
-
5
- int main()
6
- {
7
- // Write C code here
8
- int i = 20, j = 22, k = 20, l = 10;
9
-
10
- for (int m = 0; m <= 10; m++)
11
- {
12
- l = ++i + ++j - k--;
13
- }
14
- printf("%d\n", l);
15
- return 0;
16
- }
package/eslint/a28.c DELETED
@@ -1,25 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 28
4
- int mark(int x)
5
- {
6
- if (x <= 0)
7
- {
8
- return 1;
9
- }
10
- return 0;
11
- }
12
-
13
- int main()
14
- {
15
- // Write C code here
16
- int x = 2345, t, a = 0;
17
- while (x > 0)
18
- {
19
- t = x % 10;
20
- a += mark(t);
21
- x /= 10;
22
- }
23
- printf("%d\n", a);
24
- return 0;
25
- }
package/eslint/a29.c DELETED
@@ -1,25 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 29
4
-
5
- int main()
6
- {
7
- // Write C code here
8
- int x = 777, y, s = 0, m, n, t, u;
9
- y = x;
10
- for (m = 0; y != 0; y /= 10)
11
- {
12
- u = y % 9;
13
- for (n = m, t = 1; n >= 0; n--)
14
- {
15
- t *= 9;
16
- }
17
- if (u < 5)
18
- {
19
- u += 3;
20
- }
21
- s = s * u + t;
22
- }
23
- printf("%d\n", s);
24
- return 0;
25
- }
package/eslint/a30.c DELETED
@@ -1,29 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 30
4
-
5
- int main()
6
- {
7
- // Write C code here
8
- int a[8] = {24, 27, 33, 27, 9, 43, 0, 3};
9
- int i, sum = 0;
10
- for (i = 0; i < 5; i = i + 1)
11
- {
12
- switch (a[i] % 3)
13
- {
14
- case 2:
15
- sum = sum * sum;
16
- break;
17
- case 1:
18
- sum += a[i];
19
- break;
20
- case 0:
21
- sum -= a[i];
22
- break;
23
- default:
24
- sum = sum * a[i];
25
- }
26
- }
27
- printf("%d\n", sum);
28
- return 0;
29
- }
package/eslint/a31.c DELETED
@@ -1,23 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 31
4
-
5
- int main()
6
- {
7
- // Write C code here
8
- int x = 16, y = 32, i = 0;
9
- do
10
- {
11
- if (x % 2 == 0)
12
- {
13
- y /= 2;
14
- }
15
- if (y % 2 < 1)
16
- {
17
- x /= 2;
18
- }
19
- i++;
20
- } while (x > 1);
21
- printf("%d\n", i);
22
- return 0;
23
- }
package/eslint/a35.c DELETED
@@ -1,23 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 34
4
- int compute(int a, int b)
5
- {
6
- if (b == 1)
7
- {
8
- return a;
9
- }
10
- else
11
- {
12
- return a + compute(a, --b);
13
- }
14
- }
15
-
16
- int main()
17
- {
18
- // Write C code here
19
- int a = 37, b = 26, result = 0;
20
- result = compute(a, b);
21
- printf("%d\n", result);
22
- return 0;
23
- }
package/eslint/a36.c DELETED
@@ -1,18 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 36
4
- int main()
5
- {
6
- // Write C code here
7
- char a[] = {'o', 'm', 'p', 'n', 'j', 'o'};
8
- for (int i = 1; i <= 6; i++)
9
- {
10
- a[i - 1] = a[i - 1] + i;
11
- }
12
- for (int i = 0; i < 6; i++)
13
- {
14
- printf("%c\n", a[i]);
15
- }
16
- // printf("%d\n", result);
17
- return 0;
18
- }
package/eslint/a37.c DELETED
@@ -1,25 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 37
4
- int main()
5
- {
6
- // Write C code here
7
- char name[] = {'o', 'h', 'o', 'z', 'p', 'r', 'o', 'c'};
8
- for (int i = 0, j = 7; i <= 7; i++, j--)
9
- {
10
- if (name[i] < name[j])
11
- {
12
- name[i] = name[j];
13
- }
14
- else
15
- {
16
- name[i] = name[i];
17
- }
18
- }
19
- for (int i = 0; i <= 7; i++)
20
- {
21
- printf("%c", name[i]);
22
- }
23
- // printf("%d\n", result);
24
- return 0;
25
- }
package/eslint/a38.c DELETED
@@ -1,28 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 38
4
- int main()
5
- {
6
- // Write C code here
7
- int a = 7798, d = 1, temp, result = 1;
8
- temp = a;
9
- while (d)
10
- {
11
- d = temp % 10;
12
- temp = temp / 10;
13
- d %= 4;
14
- switch (d)
15
- {
16
- case 0:
17
- result += (a / 100) + (a % 100);
18
- case 1:
19
- result += (a / 100) + (a % 100);
20
- case 2:
21
- result += (a / 100) + (a % 100);
22
- case 3:
23
- result += (a / 100) + (a % 100);
24
- };
25
- }
26
- printf("%d\n", result);
27
- return 0;
28
- }
package/eslint/a39.c DELETED
@@ -1,17 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 39
4
- int main()
5
- {
6
- // Write C code here
7
- int a = 20, b = 15, c = 0;
8
-
9
- while (b > 0)
10
- {
11
- a = c + a - b;
12
- b = a + 1;
13
- c = b - 1;
14
- }
15
- printf("%d\n", a);
16
- return 0;
17
- }
package/eslint/a40.c DELETED
@@ -1,32 +0,0 @@
1
- // Online C compiler to run C program online
2
- #include <stdio.h>
3
- // 40
4
- int main()
5
- {
6
- // Write C code here
7
- char a[5] = {'i', 'j', 'k', 'l', 'm'};
8
- int i;
9
- for (i = 0; i < 5; i++)
10
- {
11
- // printf("%d\n", a[i]);
12
- switch (i % 2)
13
- {
14
- case 0:
15
- a[i] = a[i] + 2;
16
- break;
17
- case 1:
18
- a[i] = a[i] + 3;
19
- break;
20
- default:
21
- a[i] = a[i] + 3;
22
- }
23
- }
24
-
25
- for (i = 0; i < 5; i++)
26
- {
27
- printf("%c", a[i]);
28
- }
29
- // printf("\nHello world");
30
-
31
- return 0;
32
- }