fix: remove guide linting and fix failing challenges
This commit is contained in:
committed by
mrugesh
parent
f809100406
commit
b8593326b0
@ -53,4 +53,5 @@ const makeServerRequest = new Promise((resolve, reject) => {
|
|||||||
|
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
@ -18,6 +18,7 @@ The above <code>import</code> statement will create an object called <code>myMat
|
|||||||
myMathModule.add(2,3);
|
myMathModule.add(2,3);
|
||||||
myMathModule.subtract(5,3);
|
myMathModule.subtract(5,3);
|
||||||
```
|
```
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
## Instructions
|
## Instructions
|
||||||
|
@ -95,4 +95,5 @@ console.log(yesterday) // should be not defined
|
|||||||
console.log(today); // should be 77
|
console.log(today); // should be 77
|
||||||
console.log(tomorrow); // should be 80
|
console.log(tomorrow); // should be 80
|
||||||
```
|
```
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
@ -49,6 +49,7 @@ The algorithm follows:
|
|||||||
['6S', '9C', '2H', '6H']
|
['6S', '9C', '2H', '6H']
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
<strong>Game #617</strong>
|
<strong>Game #617</strong>
|
||||||
|
|
||||||
```js
|
```js
|
||||||
@ -62,6 +63,7 @@ The algorithm follows:
|
|||||||
['JD', 'KS', 'KC', '4H']
|
['JD', 'KS', 'KC', '4H']
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
## Instructions
|
## Instructions
|
||||||
|
@ -28,6 +28,7 @@ Write a program which outputs all valid combinations as an array.
|
|||||||
[4, 7, 1] [6, 1, 5] [6, 2, 4]
|
[4, 7, 1] [6, 1, 5] [6, 2, 4]
|
||||||
[6, 4, 2] [6, 5, 1]
|
[6, 4, 2] [6, 5, 1]
|
||||||
```
|
```
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
@ -17,7 +17,7 @@ Rules have the syntax:
|
|||||||
There is one rule per line.
|
There is one rule per line.
|
||||||
If there is a <code>.</code> (period) present before the [replacement], then this is a terminating rule in which case the interpreter must halt execution.
|
If there is a <code>.</code> (period) present before the [replacement], then this is a terminating rule in which case the interpreter must halt execution.
|
||||||
A ruleset consists of a sequence of rules, with optional comments.
|
A ruleset consists of a sequence of rules, with optional comments.
|
||||||
<big><big>Rulesets</big></big>
|
<span style="font-size: 1.5rem">Rulesets</span>
|
||||||
Use the following tests on entries:
|
Use the following tests on entries:
|
||||||
<strong>Ruleset 1:</strong>
|
<strong>Ruleset 1:</strong>
|
||||||
<pre>
|
<pre>
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
"hooks:uninstall": "node node_modules/husky/husky.js uninstall",
|
"hooks:uninstall": "node node_modules/husky/husky.js uninstall",
|
||||||
"lint": "npm-run-all -p lint:*",
|
"lint": "npm-run-all -p lint:*",
|
||||||
"lint:challenges": "cd ./curriculum && npm run lint",
|
"lint:challenges": "cd ./curriculum && npm run lint",
|
||||||
"lint:guide": "cd ./tools/lint-guide/ && gulp lint",
|
|
||||||
"lint:js": "eslint .",
|
"lint:js": "eslint .",
|
||||||
"lint:css": "npm run prettier -- --check",
|
"lint:css": "npm run prettier -- --check",
|
||||||
"prettier": "prettier \"**/*.css\"",
|
"prettier": "prettier \"**/*.css\"",
|
||||||
|
Reference in New Issue
Block a user