mirror of
https://github.com/actions/setup-go.git
synced 2025-04-23 17:40:50 +00:00
Update eslint config
This commit is contained in:
parent
36a03a4ca6
commit
0c1fc841e5
1 changed files with 3 additions and 2 deletions
|
@ -12,6 +12,7 @@ module.exports = {
|
||||||
'@typescript-eslint/no-require-imports': 'error',
|
'@typescript-eslint/no-require-imports': 'error',
|
||||||
'@typescript-eslint/no-non-null-assertion': 'off',
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
||||||
'@typescript-eslint/no-explicit-any': 'off',
|
'@typescript-eslint/no-explicit-any': 'off',
|
||||||
|
'@typescript-eslint/no-empty-function': 'off',
|
||||||
'@typescript-eslint/ban-ts-comment': [
|
'@typescript-eslint/ban-ts-comment': [
|
||||||
'error',
|
'error',
|
||||||
{
|
{
|
||||||
|
@ -34,10 +35,10 @@ module.exports = {
|
||||||
files: ['**/*{test,spec}.ts'],
|
files: ['**/*{test,spec}.ts'],
|
||||||
rules: {
|
rules: {
|
||||||
'@typescript-eslint/no-unused-vars': 'off',
|
'@typescript-eslint/no-unused-vars': 'off',
|
||||||
'@typescript-eslint/no-empty-function': 'off',
|
|
||||||
'jest/no-standalone-expect': 'off',
|
'jest/no-standalone-expect': 'off',
|
||||||
'jest/no-conditional-expect': 'off',
|
'jest/no-conditional-expect': 'off',
|
||||||
'no-magic-numbers': 'off',
|
'no-console': 'off',
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Reference in a new issue