Skip to content

Commit 825b23f

Browse files
committed
Update eslint config
1 parent 33dd0f9 commit 825b23f

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.eslintrc.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@
66
},
77
"extends": "eslint:recommended",
88
"parserOptions": {
9-
"ecmaVersion": 2018
9+
"ecmaVersion": 2020
10+
},
11+
"globals": {
12+
"BigInt": true
1013
},
1114
"rules": {
1215
"indent": [
1316
"error",
14-
2,
15-
{ "SwitchCase": 1 }
17+
2
1618
],
1719
"linebreak-style": [
1820
"error",
@@ -26,7 +28,6 @@
2628
"error",
2729
"always"
2830
],
29-
"no-console": "off",
3031
"no-loop-func": [
3132
"error"
3233
],
@@ -114,6 +115,9 @@
114115
"new-parens": [
115116
"error"
116117
],
118+
"no-lonely-if": [
119+
"error"
120+
],
117121
"no-trailing-spaces": [
118122
"error"
119123
],
@@ -261,4 +265,4 @@
261265
"never"
262266
]
263267
}
264-
}
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) 2017-2019 How.Programming.Works contributors
3+
Copyright (c) 2017-2020 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy