8000 Merge branch 'trekhleb:master' into master · rogercady/javascript-algorithms@c5742f5 · GitHub
[go: up one dir, main page]

Skip to content

Commit c5742f5

Browse files
authored
Merge branch 'trekhleb:master' into master
2 parents e3ca637 + bbbfd32 commit c5742f5

File tree

331 files changed

+28321
-6562
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

331 files changed

+28321
-6562
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# @see: https://editorconfig.org/
12
root = true
23

34
[*]
@@ -6,3 +7,5 @@ insert_final_newline = true
67
charset = utf-8
78
indent_style = space
89
indent_size = 2
10+
trim_trailing_whitespace = true
11+
quote_type = single

.eslintrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,10 @@
1111
"class-methods-use-this": "off",
1212
"arrow-body-style": "off",
1313
"no-loop-func": "off"
14+
},
15+
"settings": {
16+
"react": {
17+
"version": "18.2.0"
18+
}
1419
}
1520
}

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# @see: https://docs.github.com/en/github/administering-a-repository/displaying-a-sponsor-button-in-your-repository
2+
github: trekhleb
3+
patreon: trekhleb

.github/workflows/CI.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
node-version: [ 16.x ]
15+
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v2
19+
20+
- name: Setup Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v1
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
25+
- name: Install dependencies
26+
run: npm i
27+
28+
- name: Run linting
29+
run: npm run lint
30+
31+
- name: Run tests
32+
run: npm run coverage
33+
34+
- name: Upload coverage to Codecov
35+
uses: codecov/codecov-action@v1

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run lint
5+
# npm run test

.huskyrc.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v16.15.0

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0