Skip to content

Commit 54cee0d

Browse files
committedMar 1, 2023
add .gitattributes & .editorconfig
1 parent ce62811 commit 54cee0d

File tree

5 files changed

+22
-216
lines changed

5 files changed

+22
-216
lines changed
 

‎.editorconfig

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# https://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
end_of_line = lf
7+
indent_size = 2
8+
indent_style = space
9+
insert_final_newline = true
10+
max_line_length = 80
11+
trim_trailing_whitespace = true
12+
13+
[*.md]
14+
max_line_length = 0
15+
trim_trailing_whitespace = false
16+
17+
[COMMIT_EDITMSG]
18+
max_line_length = 0

‎.gitattributes

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.js eol=lf
2+
*.json eol=lf
3+
*.ts eol=lf

‎.github/workflows/main.yml

-4
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,10 @@ jobs:
1414
steps:
1515
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
1616
- uses: actions/checkout@v3
17-
18-
- name: Install dos2unix
19-
run: sudo apt-get update && sudo apt-get install -y dos2unix
2017

2118
- name: Run a multi-line script
2219
run: |
2320
npm ci
2421
npm run build
2522
npm run test:coverage
2623
npm run codecov
27-
npm run convert

‎package-lock.json

-209
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"prepublish": "npm run build",
99
"test": "jest",
1010
"test:coverage": "jest --coverage",
11-
"codecov": "codecov",
12-
"convert": "dos2unix scripts/*.*"
11+
"codecov": "codecov"
1312
},
1413
"repository": {
1514
"type": "git",
@@ -42,7 +41,6 @@
4241
"@jest/types": "^28.1.3",
4342
"@types/jest": "^28.1.6",
4443
"codecov": "^3.8.3",
45-
"dos2unix": "^1.1.2",
4644
"jest": "^28.1.3",
4745
"jest-environment-jsdom": "^28.1.3",
4846
"ts-jest": "^28.0.7",

0 commit comments

Comments
 (0)
Please sign in to comment.