Commit Graph

4014 Commits

Author SHA1 Message Date
edefb9667c Travis build: 661 2018-10-19 07:17:15 +00:00
5fa24f489c Update .eslintrc.json 2018-10-19 10:15:24 +03:00
a9d3d77be2 Travis build: 659 2018-10-19 06:06:32 +00:00
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
1fb3e65cca Linted everything, removed semistandard 2018-10-18 23:38:01 +03:00
1eb609cd90 ESlinted scripts 2018-10-18 22:38:53 +03:00
08e84b7336 Add eslint to devDep and configure it 2018-10-18 22:33:30 +03:00
f53f5ccfd3 Travis build: 656 2018-10-17 10:19:39 +00:00
1b2b97ec2d Merge pull request #848 from Siarhei-Zharnasek/master
Simplify differenceBy
2018-10-17 13:17:59 +03:00
229e484988 Simplify differenceBy 2018-10-17 12:01:48 +04:00
90697e1797 Travis build: 654 2018-10-16 17:40:52 +00:00
1cefde7997 Resolves #837 2018-10-16 20:39:05 +03:00
a367a7a958 Travis build: 652 2018-10-16 17:33:35 +00:00
25d11ba096 Merge pull request #764 from evyatarmeged/master
[FEATURE] add celsiusToFahrenheit and fahrenheitToCelsius
2018-10-16 20:31:45 +03:00
5f60e10c08 Archived 2018-10-16 20:31:11 +03:00
0f35878750 Travis build: 650 2018-10-16 17:26:47 +00:00
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
f026e757ee Naming fix 2018-10-16 20:24:09 +03:00
26afaf454c Archived 2018-10-16 20:22:23 +03:00
84e5d1012c Travis build: 648 2018-10-16 10:57:06 +00:00
110785d958 Merge pull request #842 from saqib053/sum-of-squares
Add squareSum
2018-10-16 13:55:32 +03:00
ade6be6cd7 Update squareSum.md 2018-10-16 13:55:06 +03:00
ba8dfd5872 chore: minor updat 2018-10-16 12:56:23 +03:00
5bcd098081 chore: minor updat 2018-10-16 12:54:26 +03:00
f107c14135 Travis build: 646 2018-10-16 08:37:05 +00:00
fcd87c4482 Merge pull request #830 from liuhanqu/master
Another primitive assert function
2018-10-16 11:35:20 +03:00
e2139389b1 Update isPrimitive.md 2018-10-16 11:34:45 +03:00
76005943e2 Travis build: 644 2018-10-16 08:30:05 +00:00
3fe8e4ba46 Merge pull request #841 from Siarhei-Zharnasek/master
Simplify countBy
2018-10-16 11:28:26 +03:00
946a3ca1e1 Travis build: 642 2018-10-16 05:29:42 +00:00
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
3b14a69cb1 add 30react to similar projects - it's no longer a secret 2018-10-15 19:48:06 +02:00
8efdf68e3c Update squareSum.md 2018-10-15 12:17:08 +03:00
386cde09d1 add snippet 2018-10-15 11:53:12 +03:00
faec79cba6 Simplify countBy 2018-10-15 12:18:24 +04:00
55c4a967e5 Travis build: 639 2018-10-15 05:10:18 +00:00
db16dd775e Merge pull request #838 from mphan6/Issue-833
Correct palindrome.md description
2018-10-15 08:08:51 +03:00
b39af772d8 Update palindrome.md 2018-10-15 08:07:36 +03:00
a3f227a9c7 Update palindrome.md 2018-10-15 08:06:52 +03:00
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
a9a61b4de2 Add Kilometers/Hour to Miles/Hour conversion and reverse 2018-10-12 21:49:43 +02:00
6c7bd5a9ca Another primitive assert function 2018-10-12 15:12:43 +08:00
f83e636f9b Travis build: 637 2018-10-11 12:09:31 +00:00
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
f07906fef3 Updates typo in sample snippet from of to off 2018-10-11 10:57:51 +01:00
342d58b60f Travis build: 635 2018-10-10 20:55:48 +00:00
91dd2a34ff Update README-start.md 2018-10-10 23:53:40 +03:00
7a0772966e Travis build: 630 2018-10-10 18:02:26 +00:00
2d121dbcb8 Merge pull request #826 from Siarhei-Zharnasek/master
Simplify unionBy
2018-10-10 21:00:53 +03:00
3b0de71606 Simplify unionBy 2018-10-10 16:47:58 +04:00