Commit Graph

4374 Commits

Author SHA1 Message Date
30secondsofcode
edefb9667c Travis build: 661 2018-10-19 07:17:15 +00:00
Angelos Chalaris
5fa24f489c Update .eslintrc.json 2018-10-19 10:15:24 +03:00
30secondsofcode
a9d3d77be2 Travis build: 659 2018-10-19 06:06:32 +00:00
Felix Wu
e5d9cfbf2b [SCRIPTS] ESLint (finally) (#853)
As discussed in #816, here's the linting subsystem rebuilt:

- Added `eslint` to the `devDependencies`.
- Configured `.eslintrc.json` to enforce our coding style.
- Swapped out `semistandard`, as `eslint` does the same job that it did.
- Updated `lint.js` to use `eslint` (some rules are overriden there in order to deal with all the problematic data that comes from generated files).
- Made `eslint` `--fix` errors on its own in the `linter` process and give us a report (that does not seem to auto-commit from CI builds, that's probably for the best).
- Run the new `linter` on pretty much everything, some rules are now better applied across the board.

**Only thing remaining** is to configure Codacy to use this ruleset from now on and we are golden.

## PR Type
- [ ] Snippets, Tests & Tags (new snippets, updated snippets, re-tagging of snippets, added/updated tests)
- [x] Scripts & Website & Meta (anything related to files in the [scripts folder](https://github.com/30-seconds/30-seconds-of-code/tree/master/scripts), how the repository's automated procedures work and the website)
- [ ] Glossary & Secondary Features (anything related to the glossary, such as new or updated terms or other secondary features)
- [ ] General, Typos, Misc. & Meta (everything else, typos, general stuff and meta files in the repository - e.g. the issue template)

## Guidelines
- [x] I have read the guidelines in the [CONTRIBUTING](https://github.com/30-seconds/30-seconds-of-code/blob/master/CONTRIBUTING.md) document.
- [x] My PR doesn't include any `testlog` changes.
2018-10-19 08:04:37 +02:00
Angelos Chalaris
6fb735eb09 Update toTitleCase.md 2018-10-19 08:36:58 +03:00
ccjmne
c49c77f80e Add toTitleCase snippet and update tag_database accordingly 2018-10-19 03:49:34 +02:00
Angelos Chalaris
1fb3e65cca Linted everything, removed semistandard 2018-10-18 23:38:01 +03:00
Angelos Chalaris
1eb609cd90 ESlinted scripts 2018-10-18 22:38:53 +03:00
Angelos Chalaris
08e84b7336 Add eslint to devDep and configure it 2018-10-18 22:33:30 +03:00
Filip Danić
e595670c47 Update tomorrow.md 2018-10-17 21:50:11 +02:00
Filip Danić
24b01ec97c revert to previous implementation, but make it cleaner 2018-10-17 21:37:54 +02:00
30secondsofcode
f53f5ccfd3 Travis build: 656 2018-10-17 10:19:39 +00:00
Angelos Chalaris
1b2b97ec2d Merge pull request #848 from Siarhei-Zharnasek/master
Simplify differenceBy
2018-10-17 13:17:59 +03:00
Filip Danić
7a00d47eff Improve the readability of tomorrow.js (solved #775) 2018-10-17 11:36:41 +02:00
Siarhei
229e484988 Simplify differenceBy 2018-10-17 12:01:48 +04:00
30secondsofcode
90697e1797 Travis build: 654 2018-10-16 17:40:52 +00:00
Angelos Chalaris
1cefde7997 Resolves #837 2018-10-16 20:39:05 +03:00
30secondsofcode
a367a7a958 Travis build: 652 2018-10-16 17:33:35 +00:00
Angelos Chalaris
25d11ba096 Merge pull request #764 from evyatarmeged/master
[FEATURE] add celsiusToFahrenheit and fahrenheitToCelsius
2018-10-16 20:31:45 +03:00
Angelos Chalaris
5f60e10c08 Archived 2018-10-16 20:31:11 +03:00
30secondsofcode
0f35878750 Travis build: 650 2018-10-16 17:26:47 +00:00
Angelos Chalaris
c150912db7 Merge pull request #832 from Qo2770/master
[FEATURE] Add Kilometers/Hour to Miles/Hour conversion and reverse
2018-10-16 20:24:41 +03:00
Angelos Chalaris
f026e757ee Naming fix 2018-10-16 20:24:09 +03:00
Angelos Chalaris
26afaf454c Archived 2018-10-16 20:22:23 +03:00
30secondsofcode
84e5d1012c Travis build: 648 2018-10-16 10:57:06 +00:00
Angelos Chalaris
110785d958 Merge pull request #842 from saqib053/sum-of-squares
Add squareSum
2018-10-16 13:55:32 +03:00
Angelos Chalaris
ade6be6cd7 Update squareSum.md 2018-10-16 13:55:06 +03:00
Saqib Saghir
ba8dfd5872 chore: minor updat 2018-10-16 12:56:23 +03:00
Saqib Saghir
5bcd098081 chore: minor updat 2018-10-16 12:54:26 +03:00
30secondsofcode
f107c14135 Travis build: 646 2018-10-16 08:37:05 +00:00
Angelos Chalaris
fcd87c4482 Merge pull request #830 from liuhanqu/master
Another primitive assert function
2018-10-16 11:35:20 +03:00
Angelos Chalaris
e2139389b1 Update isPrimitive.md 2018-10-16 11:34:45 +03:00
30secondsofcode
76005943e2 Travis build: 644 2018-10-16 08:30:05 +00:00
Angelos Chalaris
3fe8e4ba46 Merge pull request #841 from Siarhei-Zharnasek/master
Simplify countBy
2018-10-16 11:28:26 +03:00
30secondsofcode
946a3ca1e1 Travis build: 642 2018-10-16 05:29:42 +00:00
Angelos Chalaris
04c88960a5 Merge pull request #844 from 30-seconds/react-link-addition
[ENHANCEMENT]  add 30react to similar projects - it's no longer a secret
2018-10-16 08:28:03 +03:00
Stefan Feješ
3b14a69cb1 add 30react to similar projects - it's no longer a secret 2018-10-15 19:48:06 +02:00
Angelos Chalaris
8efdf68e3c Update squareSum.md 2018-10-15 12:17:08 +03:00
Saqib Saghir
386cde09d1 add snippet 2018-10-15 11:53:12 +03:00
Siarhei
faec79cba6 Simplify countBy 2018-10-15 12:18:24 +04:00
30secondsofcode
55c4a967e5 Travis build: 639 2018-10-15 05:10:18 +00:00
Angelos Chalaris
db16dd775e Merge pull request #838 from mphan6/Issue-833
Correct palindrome.md description
2018-10-15 08:08:51 +03:00
Angelos Chalaris
b39af772d8 Update palindrome.md 2018-10-15 08:07:36 +03:00
Angelos Chalaris
a3f227a9c7 Update palindrome.md 2018-10-15 08:06:52 +03:00
mphan6
c21b4ce44b Correct palindrome.md description
Corrected the second toLowerCase() function typo and tried to make the
description more clear.
2018-10-14 17:47:48 -04:00
Quentin Oschatz
a9a61b4de2 Add Kilometers/Hour to Miles/Hour conversion and reverse 2018-10-12 21:49:43 +02:00
laohan
6c7bd5a9ca Another primitive assert function 2018-10-12 15:12:43 +08:00
30secondsofcode
f83e636f9b Travis build: 637 2018-10-11 12:09:31 +00:00
Angelos Chalaris
4384b820ea Merge pull request #828 from 8eni/typo-update-snippet-sample-description
[FIX] Updates typo in 'sample' snippet from 'of' to 'off'
2018-10-11 15:07:50 +03:00
Benjamin Russel
f07906fef3 Updates typo in sample snippet from of to off 2018-10-11 10:57:51 +01:00