Skip to content

Commit

Permalink
- Build: Update local copies of dialog-polyfill, jamilih, jquery
Browse files Browse the repository at this point in the history
- Linting: As per latest ash-nazg
- Update: Apply newer uuid API
- npm: update deps (minimist, mkdirp, uuid, ws)
- npm: Update `package-lock` (changed `rollup` branch of `js-stirng-escape` fork)
- npm: Update devDeps
  • Loading branch information
brettz9 committed May 10, 2020
1 parent 5215e23 commit d1a3815
Show file tree
Hide file tree
Showing 23 changed files with 1,750 additions and 1,192 deletions.
44 changes: 24 additions & 20 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
'use strict';
module.exports = {
extends: "ash-nazg/sauron-node",
extends: 'ash-nazg/sauron-node',
env: {
node: true
},
settings: {
polyfills: [
'Number.parseInt',
'Object.assign',
'Object.entries',
'Promise',
Expand All @@ -19,7 +21,9 @@ module.exports = {
dataToSaveAsString: true
},
rules: {
'no-unused-vars': ['error', {varsIgnorePattern: 'pathID|content', argsIgnorePattern: 'i|type'}],
'no-unused-vars': ['error', {
varsIgnorePattern: 'pathID|content', argsIgnorePattern: 'i|type'
}],
'no-useless-return': 0
}
}],
Expand All @@ -32,23 +36,23 @@ module.exports = {
rules: {
// Reenable later
strict: 0,
"prefer-object-spread": 0,
"max-len": 0,
"no-shadow": 0,
"no-console": 0,
"require-atomic-updates": 0,
"require-unicode-regexp": 0,
"require-await": 0,
"prefer-named-capture-group": 0,
"jsdoc/require-jsdoc": 0,
"no-sync": 0,
"node/exports-style": 0,
"node/no-unpublished-import": 0,
"node/no-missing-require": 0,
"node/no-missing-import": 0,
"import/no-unresolved": 0,
"import/unambiguous": 0,
"import/no-absolute-path": 0,
"import/no-commonjs": 0
'prefer-object-spread': 0,
'max-len': 0,
'no-shadow': 0,
'no-console': 0,
'require-atomic-updates': 0,
'require-unicode-regexp': 0,
'require-await': 0,
'prefer-named-capture-group': 0,
'jsdoc/require-jsdoc': 0,
'no-sync': 0,
'node/exports-style': 0,
'node/no-unpublished-import': 0,
'node/no-missing-require': 0,
'node/no-missing-import': 0,
'import/no-unresolved': 0,
'import/unambiguous': 0,
'import/no-absolute-path': 0,
'import/no-commonjs': 0
}
};
4 changes: 2 additions & 2 deletions atyourcommand/ExpandableInputs.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ class ExpandableInputs {
return;
}
switch (dataset.ei_type) {
default:
throw new TypeError('Unexpected type');
case 'remove': {
const noneToRemove = that.remove(dataset.ei_id);

Expand All @@ -124,6 +122,8 @@ class ExpandableInputs {
} case 'add':
that.add();
break;
default:
throw new TypeError('Unexpected type');
}
});
}
Expand Down
Loading

0 comments on commit d1a3815

Please sign in to comment.