Skip to content

Commit 176f09f

Browse files
authored
feat: Upgrade to the Node 16 runtime (#2)
Also upgrade all of the dependencies
1 parent 46692b3 commit 176f09f

10 files changed

+18009
-7818
lines changed

.eslintignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
dist/
22
lib/
3-
node_modules/
3+
node_modules/
4+
jest.config.js

.eslintrc.json

+5-8
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"plugins": ["jest", "@typescript-eslint"],
3-
"extends": ["plugin:github/es6"],
3+
"extends": ["plugin:github/recommended"],
44
"parser": "@typescript-eslint/parser",
55
"parserOptions": {
66
"ecmaVersion": 9,
77
"sourceType": "module",
88
"project": "./tsconfig.json"
99
},
1010
"rules": {
11+
"i18n-text/no-en": "off",
1112
"eslint-comments/no-use": "off",
1213
"import/no-namespace": "off",
1314
"no-unused-vars": "off",
@@ -16,13 +17,11 @@
1617
"@typescript-eslint/no-require-imports": "error",
1718
"@typescript-eslint/array-type": "error",
1819
"@typescript-eslint/await-thenable": "error",
19-
"@typescript-eslint/ban-ts-ignore": "error",
20+
"@typescript-eslint/ban-ts-comment": "error",
2021
"camelcase": "off",
21-
"@typescript-eslint/camelcase": "error",
22-
"@typescript-eslint/class-name-casing": "error",
22+
"@typescript-eslint/consistent-type-assertions": "error",
2323
"@typescript-eslint/explicit-function-return-type": ["error", {"allowExpressions": true}],
2424
"@typescript-eslint/func-call-spacing": ["error", "never"],
25-
"@typescript-eslint/generic-type-naming": ["error", "^[A-Z][A-Za-z]*$"],
2625
"@typescript-eslint/no-array-constructor": "error",
2726
"@typescript-eslint/no-empty-interface": "error",
2827
"@typescript-eslint/no-explicit-any": "error",
@@ -32,15 +31,13 @@
3231
"@typescript-eslint/no-misused-new": "error",
3332
"@typescript-eslint/no-namespace": "error",
3433
"@typescript-eslint/no-non-null-assertion": "warn",
35-
"@typescript-eslint/no-object-literal-type-assertion": "error",
3634
"@typescript-eslint/no-unnecessary-qualifier": "error",
3735
"@typescript-eslint/no-unnecessary-type-assertion": "error",
3836
"@typescript-eslint/no-useless-constructor": "error",
3937
"@typescript-eslint/no-var-requires": "error",
4038
"@typescript-eslint/prefer-for-of": "warn",
4139
"@typescript-eslint/prefer-function-type": "warn",
4240
"@typescript-eslint/prefer-includes": "error",
43-
"@typescript-eslint/prefer-interface": "error",
4441
"@typescript-eslint/prefer-string-starts-ends-with": "error",
4542
"@typescript-eslint/promise-function-async": "error",
4643
"@typescript-eslint/require-array-sort-compare": "error",
@@ -55,4 +52,4 @@
5552
"es6": true,
5653
"jest/globals": true
5754
}
58-
}
55+
}

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ branding:
99
icon: 'terminal'
1010
color: 'purple'
1111
runs:
12-
using: 'node12'
12+
using: 'node16'
1313
main: 'dist/index.js'

0 commit comments

Comments
 (0)