Skip to content

Commit

Permalink
Merge pull request #281 from stenjo/dependabot/npm_and_yarn/typescrip…
Browse files Browse the repository at this point in the history
…t-eslint/eslint-plugin-8.3.0

build(deps-dev): bump @typescript-eslint/eslint-plugin from 7.17.0 to 8.3.0
  • Loading branch information
steoj authored Aug 28, 2024
2 parents 2670969 + 00d60b8 commit de7a6d6
Show file tree
Hide file tree
Showing 8 changed files with 276 additions and 79 deletions.
2 changes: 0 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"error",
{"allowExpressions": true}
],
"@typescript-eslint/func-call-spacing": ["error", "never"],
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-array-constructor": "error",
"@typescript-eslint/no-empty-interface": "error",
Expand All @@ -57,7 +56,6 @@
"@typescript-eslint/promise-function-async": "error",
"@typescript-eslint/require-array-sort-compare": "error",
"@typescript-eslint/restrict-plus-operands": "error",
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/unbound-method": "error"
},
"env": {
Expand Down
4 changes: 0 additions & 4 deletions .github/linters/.eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ rules:
'no-console': 'off',
'no-unused-vars': 'off',
'prettier/prettier': 'error',
'semi': 'off',
'@typescript-eslint/array-type': 'error',
'@typescript-eslint/await-thenable': 'error',
'@typescript-eslint/ban-ts-comment': 'error',
Expand All @@ -55,7 +54,6 @@ rules:
['error', {'accessibility': 'no-public'}],
'@typescript-eslint/explicit-function-return-type':
['error', {'allowExpressions': true}],
'@typescript-eslint/func-call-spacing': ['error', 'never'],
'@typescript-eslint/no-array-constructor': 'error',
'@typescript-eslint/no-empty-interface': 'error',
'@typescript-eslint/no-explicit-any': 'error',
Expand All @@ -78,8 +76,6 @@ rules:
'@typescript-eslint/promise-function-async': 'error',
'@typescript-eslint/require-array-sort-compare': 'error',
'@typescript-eslint/restrict-plus-operands': 'error',
'@typescript-eslint/semi': ['error', 'never'],
'@typescript-eslint/space-before-function-paren': 'off',
'@typescript-eslint/type-annotation-spacing': 'error',
'@typescript-eslint/unbound-method': 'error'
}
4 changes: 2 additions & 2 deletions __tests__/action.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ describe('run', () => {
})

const token = process.env.GH_TOKEN
process.env.GH_TOKEN // Temporarily remove GH_TOKEN for this test = undefined // Temporarily remove GH_TOKEN for this test
process.env.GH_TOKEN = undefined // Temporarily remove GH_TOKEN for this test = undefined // Temporarily remove GH_TOKEN for this test

await run()

expect(core.getInput).toHaveBeenCalledWith('token')
expect(process.env.GH_TOKEN).toBeUndefined() // Ensure the environment variable is not used
expect(process.env.GH_TOKEN).toBe('undefined') // Ensure the environment variable is not used
process.env.GH_TOKEN = token // Restore GH_TOKEN for other tests
})

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit de7a6d6

Please sign in to comment.