Skip to content

Commit

Permalink
Update eslint & config
Browse files Browse the repository at this point in the history
  • Loading branch information
sqrrrl committed Apr 25, 2022
1 parent 93c67bd commit c14cdb9
Show file tree
Hide file tree
Showing 3 changed files with 1,284 additions and 827 deletions.
34 changes: 18 additions & 16 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
module.exports = {
"extends": "google",
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module"
},
"env": {
"node": true,
},
"rules": {
"max-len": ["error", {"code": 100}],
"camelcase": "off", // Off for destructuring
"async-await/space-after-async": 2,
"async-await/space-after-await": 2,
},
"plugins": ["async-await"],
};
'extends': 'google',
'parserOptions': {
'ecmaVersion': 8,
'sourceType': 'module',
},
'env': {
'node': true,
},
'rules': {
'require-jsdoc': 'off',
'max-len': ['error', {'code': 100}],
'camelcase': ['error', {
'ignoreDestructuring': true,
'ignoreImports': true,
'allow': ['access_type', 'redirect_uris'],
}],
},
};
Loading

0 comments on commit c14cdb9

Please sign in to comment.