feat: deprecate request and implement axios. bump ws. cleaning. expose request options for proxy support. resolves #12. resolves #4.
This commit is contained in:
18
.eslintrc.js
18
.eslintrc.js
@@ -2,29 +2,15 @@ module.exports = {
|
||||
env: {
|
||||
es6: true,
|
||||
node: true,
|
||||
'jest/globals': true
|
||||
},
|
||||
extends: ['eslint:recommended', 'plugin:jest/recommended'],
|
||||
extends: ['eslint:recommended'],
|
||||
parserOptions: {
|
||||
sourceType: 'module',
|
||||
ecmaVersion: 9
|
||||
},
|
||||
|
||||
plugins: ['jest', 'prettier'],
|
||||
plugins: [],
|
||||
rules: {
|
||||
// 'prettier/prettier': [
|
||||
// 'error',
|
||||
// {
|
||||
// singleQuote: true,
|
||||
// printWidth: 140,
|
||||
// arrowParens: 'avoid'
|
||||
// }
|
||||
// ],
|
||||
'jest/no-disabled-tests': 'warn',
|
||||
'jest/no-focused-tests': 'error',
|
||||
'jest/no-identical-title': 'error',
|
||||
'jest/prefer-to-have-length': 'warn',
|
||||
'jest/valid-expect': 'error',
|
||||
'array-bracket-spacing': ['error', 'never'],
|
||||
indent: ['warn', 2],
|
||||
'linebreak-style': ['error', 'unix'],
|
||||
|
||||
Reference in New Issue
Block a user