Skip to content

Commit

Permalink
Update dev dependencies (and do eslint-fix)
Browse files Browse the repository at this point in the history
* Update
* Audit fix
* Eslint fix
* Removed jshint
* Did not update Watson SDK
  • Loading branch information
markstur committed Jan 18, 2022
1 parent 25265d0 commit 0d95317
Show file tree
Hide file tree
Showing 3 changed files with 6,088 additions and 3,203 deletions.
40 changes: 16 additions & 24 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,19 @@
module.exports = {
"env": {
"node": true,
"mocha": true,
env: {
node: true,
mocha: true,
},
plugins: ['node', 'prettier'],
extends: ['eslint:recommended', 'google', 'plugin:node/recommended', 'prettier'],
ignorePatterns: ['public', 'node_modules'],
rules: {
'no-console': 0,
'no-process-exit': 0,
'node/no-unpublished-require': ['error', { allowModules: ['chai', 'sinon', 'sinon-test'] }],
'prettier/prettier': ['error', { singleQuote: true, printWidth: 160 }],
'prefer-const': 'error',
'prefer-rest-params': 'off',
'valid-jsdoc': 'off',
camelcase: ['error', { allow: ['response_type', 'return_context', 'user_defined', 'webhook_error', 'damage_description'] }],
},
"plugins": [
"node",
"prettier",
],
"extends": [
"eslint:recommended",
"google",
"plugin:node/recommended",
"prettier",
],
"ignorePatterns": ["public", "node_modules"],
"rules": {
"no-console": 0,
"no-process-exit": 0,
"node/no-unpublished-require": ["error", {"allowModules": ["chai", "sinon", "sinon-test"]}],
"prettier/prettier": ["error", {"singleQuote": true, "printWidth": 160}],
"prefer-const": "error",
"prefer-rest-params": "off",
"valid-jsdoc": "off",
"camelcase": ["error", {"allow": ["response_type", "return_context", "user_defined", "webhook_error", "damage_description"]}],
}
};
Loading

0 comments on commit 0d95317

Please sign in to comment.