Update dependencies to latest versions for hashfiles#1756
Conversation
| @@ -1,6 +1,6 @@ | |||
| { | |||
| "plugins": ["jest", "@typescript-eslint"], | |||
| "extends": ["plugin:github/es6"], | |||
| "@typescript-eslint/array-type": "error", | ||
| "@typescript-eslint/await-thenable": "error", | ||
| "@typescript-eslint/ban-ts-ignore": "error", | ||
| "@typescript-eslint/naming-convention": [ |
There was a problem hiding this comment.
This replaces
"@typescript-eslint/camelcase": "error",
"@typescript-eslint/class-name-casing": "error",
| "@typescript-eslint/unbound-method": "error" | ||
| "@typescript-eslint/unbound-method": "error", | ||
| "filenames/match-regex" : "off", | ||
| "github/no-then" : 1, // warning |
There was a problem hiding this comment.
new rules introduced, we fail this one, lets warn for now and if we want to update the code later we can
| "@typescript-eslint/type-annotation-spacing": "error", | ||
| "@typescript-eslint/unbound-method": "error" | ||
| "@typescript-eslint/unbound-method": "error", | ||
| "filenames/match-regex" : "off", |
There was a problem hiding this comment.
this provides a regex that all filesnames must match, the project is one file, lets just turn it off.
| "@typescript-eslint/class-name-casing": "error", | ||
| "@typescript-eslint/explicit-function-return-type": ["error", {"allowExpressions": true}], | ||
| "@typescript-eslint/func-call-spacing": ["error", "never"], | ||
| "@typescript-eslint/generic-type-naming": ["error", "^[A-Z][A-Za-z]*$"], |
There was a problem hiding this comment.
I removed some depreciated rules, again this is a one file project, I think we are okay without heavy linting.
"@typescript-eslint/generic-type-naming": ["error", "^[A-Z][A-Za-z]*$"],
"@typescript-eslint/no-object-literal-type-assertion": "error",
"@typescript-eslint/prefer-interface": "error",
| import * as glob from '@actions/glob' | ||
| import * as crypto from 'crypto' | ||
| import * as fs from 'fs' | ||
| import * as glob from '@actions/glob' |
There was a problem hiding this comment.
reordered due to new rule expecting imports to be in alphabetical order
| const glob = __importStar(__webpack_require__(281)); | ||
| const crypto = __importStar(__webpack_require__(417)); | ||
| const fs = __importStar(__webpack_require__(747)); | ||
| const glob = __importStar(__webpack_require__(281)); |
There was a problem hiding this comment.
no changes besides the order of imports being moved around
This PR: