Skip to content

Commit

Permalink
feat: add and apply eslint formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq committed Nov 18, 2023
1 parent 9202196 commit f9bd96b
Show file tree
Hide file tree
Showing 2 changed files with 247 additions and 212 deletions.
20 changes: 20 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
'env': {
'commonjs': true,
'es2021': true,
},
'extends': 'google',
'overrides': [
],
'parserOptions': {
'ecmaVersion': 'latest',
'sourceType': 'module',
},
'rules': {
'indent': ['error', 2, {'SwitchCase': 1}],
'max-len': [
'error',
{'code': 120, 'ignoreComments': true, 'ignoreUrls': true, 'ignoreStrings': true},
],
},
};
Loading

0 comments on commit f9bd96b

Please sign in to comment.