Skip to content

Commit 71feb3f

Browse files
committed
chore: updating dependencies for audit
Signed-off-by: Pawel Psztyc <jarrodek@gmail.com>
1 parent a70b3ae commit 71feb3f

5 files changed

Lines changed: 1367 additions & 4386 deletions

File tree

.eslintrc.js

Lines changed: 2 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,14 @@
1-
/* eslint-disable import/no-commonjs */
21
module.exports = {
3-
extends: [
4-
require.resolve('eslint-config-google'),
5-
require.resolve('eslint-config-node'),
6-
],
7-
parser: 'babel-eslint',
82
parserOptions: {
93
sourceType: 'module',
10-
ecmaVersion: 8,
4+
ecmaVersion: 9,
115
},
126
env: {
137
browser: false,
148
mocha: true,
159
node: true,
1610
es6: true,
1711
},
18-
plugins: [
19-
'no-only-tests',
20-
'babel',
21-
'import',
22-
],
2312
overrides: [
2413
{
2514
files: [
@@ -49,26 +38,6 @@ module.exports = {
4938
],
5039
'lines-between-class-members': 'error',
5140
'no-underscore-dangle': 'off',
52-
'no-only-tests/no-only-tests': 'error',
53-
'import/extensions': [
54-
'error',
55-
'always',
56-
{
57-
ignorePackages: true,
58-
},
59-
],
60-
'import/prefer-default-export': 'off',
61-
'import/no-nodejs-modules': 'off',
62-
'import/no-extraneous-dependencies': [
63-
'error',
64-
{
65-
'devDependencies': [
66-
'**/test/**/*.js',
67-
'**/*.config.js',
68-
'**/*.conf.js',
69-
],
70-
},
71-
],
7241
'class-methods-use-this': [
7342
// this is unnecessary for node apps.
7443
'off',
@@ -86,7 +55,7 @@ module.exports = {
8655
FunctionExpression: true,
8756
},
8857
}],
89-
'comma-dangle': 'warn',
58+
// 'comma-dangle': 'warn',
9059
'new-cap': [
9160
'error',
9261
{
@@ -108,7 +77,6 @@ module.exports = {
10877
'error',
10978
],
11079
'no-unused-expressions': 'error',
111-
'babel/no-unused-expressions': 'error',
11280
'prefer-template': 'error',
11381
'no-return-await': 'error',
11482
'no-template-curly-in-string': 'error',

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"cSpell.words": [
3+
"IIFE"
4+
]
5+
}

index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* eslint-disable no-console */
2-
/* eslint-disable import/no-commonjs */
32
const amf = require('amf-client-js');
43
const fs = require('fs-extra');
54
const path = require('path');

0 commit comments

Comments
 (0)