Skip to content

Commit 42f3236

Browse files
committed
Repository maintenance
1 parent ed4899a commit 42f3236

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
},
77
"extends": "eslint:recommended",
88
"parserOptions": {
9-
"ecmaVersion": 2018
9+
"ecmaVersion": 2020
10+
},
11+
"globals": {
12+
"BigInt": true
1013
},
1114
"rules": {
1215
"indent": [
@@ -25,7 +28,6 @@
2528
"error",
2629
"always"
2730
],
28-
"no-console": "off",
2931
"no-loop-func": [
3032
"error"
3133
],
@@ -113,6 +115,9 @@
113115
"new-parens": [
114116
"error"
115117
],
118+
"no-lonely-if": [
119+
"error"
120+
],
116121
"no-trailing-spaces": [
117122
"error"
118123
],
@@ -148,7 +153,7 @@
148153
"space-before-function-paren": [
149154
"error",
150155
{
151-
"anonymous": "always",
156+
"anonymous": "never",
152157
"named": "never",
153158
"asyncArrow": "always"
154159
}
@@ -260,4 +265,4 @@
260265
"never"
261266
]
262267
}
263-
}
268+
}

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018-2019 How.Programming.Works contributors
3+
Copyright (c) 2018-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)