Skip to content

Commit

Permalink
chore: lint using twilio-style (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktalebian authored Jul 23, 2020
1 parent 4f8806b commit 0b600bc
Show file tree
Hide file tree
Showing 58 changed files with 1,582 additions and 1,271 deletions.
27 changes: 9 additions & 18 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
{
"extends": "oclif",
"plugins": ["mocha"],
"env": {
"mocha": true
"extends": [
"twilio",
"twilio-mocha"
],
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"object-curly-spacing": ["error", "always"],
"comma-dangle": ["error", "never"],
"mocha/no-exclusive-tests": "error",
"node/no-extraneous-require": [
"error",
{
"allowModules": ["lodash", "request", "q"]
}
]
"global-require": "off",
"prefer-named-capture-group": "off"
}
}
}
Loading

0 comments on commit 0b600bc

Please sign in to comment.