Skip to content

Commit 84fbc5c

Browse files
committed
feat: eslint formatting & code docs, update deps
1 parent 177117c commit 84fbc5c

File tree

3 files changed

+295
-225
lines changed

3 files changed

+295
-225
lines changed

.eslintrc.js

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
module.exports = {
2+
'env': {
3+
'commonjs': true,
4+
'es2021': true,
5+
},
6+
'extends': 'google',
7+
'overrides': [
8+
],
9+
'parserOptions': {
10+
'ecmaVersion': 'latest',
11+
'sourceType': 'module',
12+
},
13+
'rules': {
14+
'indent': ['error', 2, {'SwitchCase': 1}],
15+
'max-len': [
16+
'error',
17+
{'code': 120, 'ignoreComments': true, 'ignoreUrls': true, 'ignoreStrings': true},
18+
],
19+
},
20+
};

0 commit comments

Comments
 (0)