Skip to content

Commit cbda7c4

Browse files
author
punit1009
committed
fix: apply eslint --fix and normalize line endings
1 parent e28d0d6 commit cbda7c4

File tree

654 files changed

+59056
-0
lines changed

Some content is hidden

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

654 files changed

+59056
-0
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["@babel/preset-env"]
3+
}

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# @see: https://editorconfig.org/
2+
root = true
3+
4+
[*]
5+
end_of_line = lf
6+
insert_final_newline = true
7+
charset = utf-8
8+
indent_style = space
9+
indent_size = 2
10+
trim_trailing_whitespace = true
11+
quote_type = single

.eslintrc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"root": true,
3+
"extends": "airbnb",
4+
"plugins": ["jest"],
5+
"env": {
6+
"jest/globals": true
7+
},
8+
"rules": {
9+
"no-bitwise": "off",
10+
"no-lonely-if": "off",
11+
"class-methods-use-this": "off",
12+
"arrow-body-style": "off",
13+
"no-loop-func": "off"
14+
},
15+
"ignorePatterns": ["*.md", "*.png", "*.jpeg", "*.jpg"],
16+
"settings": {
17+
"react": {
18+
"version": "18.2.0"
19+
}
20+
}
21+
}

.gitattributes

42 Bytes
Binary file not shown.

.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

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
.idea
3+
coverage
4+
.vscode
5+
.DS_Store

.husky/.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Enforce LF for all text files
2+
* text=auto eol=lf
3+
4+
# Ignore all files in .husky except .sh scripts
5+
*
6+
!.gitignore
7+
!*.sh

.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

0 commit comments

Comments
 (0)