Skip to content

Commit 5f76c35

Browse files
committed
Repository maintenance
1 parent 5d9d5cf commit 5f76c35

File tree

3 files changed

+22
-9
lines changed

3 files changed

+22
-9
lines changed

.editorconfig

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
end_of_line = lf
6+
charset = utf-8
7+
insert_final_newline = true
8+
trim_trailing_whitespace = true
9+
10+
[{*.js,*.mjs,*.ts,*.json,*.yml}]
11+
indent_size = 2
12+
indent_style = space

.eslintrc.json

+9-8
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,17 @@
44
"es6": true,
55
"node": true
66
},
7-
"globals": {
8-
"memory": true
9-
},
107
"extends": "eslint:recommended",
118
"parserOptions": {
12-
"ecmaVersion": 2018
9+
"ecmaVersion": 2020
10+
},
11+
"globals": {
12+
"BigInt": true
1313
},
1414
"rules": {
1515
"indent": [
1616
"error",
17-
2,
18-
{ "SwitchCase": 1 }
17+
2
1918
],
2019
"linebreak-style": [
2120
"error",
@@ -29,7 +28,6 @@
2928
"error",
3029
"always"
3130
],
32-
"no-console": "off",
3331
"no-loop-func": [
3432
"error"
3533
],
@@ -117,6 +115,9 @@
117115
"new-parens": [
118116
"error"
119117
],
118+
"no-lonely-if": [
119+
"error"
120+
],
120121
"no-trailing-spaces": [
121122
"error"
122123
],
@@ -264,4 +265,4 @@
264265
"never"
265266
]
266267
}
267-
}
268+
}

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 How.Programming.Works contributors
3+
Copyright (c) 2019-2022 How.Programming.Works contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)