aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2023-01-07 16:40:45 +0100
committerGitHub <[email protected]>2023-01-07 16:40:45 +0100
commit35f386989ec77fb89f1a91a51572aee0a8c5b571 (patch)
tree5f4818fb37fd28cd445ffbbb3fbf6810245cb0c8
parent95d0765caaf882c87064cbbeae5399a2582b7f9d (diff)
downloadfaker-35f386989ec77fb89f1a91a51572aee0a8c5b571.tar.xz
faker-35f386989ec77fb89f1a91a51572aee0a8c5b571.zip
chore: set lint warnings to error (#1714)
-rw-r--r--.eslintrc.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index cba7d990..6b295a6c 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -31,7 +31,7 @@ module.exports = defineConfig({
eqeqeq: ['error', 'always', { null: 'ignore' }],
'prefer-template': 'error',
- '@typescript-eslint/ban-ts-comment': 'warn',
+ '@typescript-eslint/ban-ts-comment': 'error',
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/explicit-module-boundary-types': 'error',
'@typescript-eslint/naming-convention': [
@@ -47,11 +47,11 @@ module.exports = defineConfig({
'error',
{ ignoreParameters: true },
],
- '@typescript-eslint/no-unsafe-argument': 'warn',
+ '@typescript-eslint/no-unsafe-argument': 'error',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
- '@typescript-eslint/no-unsafe-return': 'warn',
+ '@typescript-eslint/no-unsafe-return': 'error',
'@typescript-eslint/padding-line-between-statements': [
'error',
{ blankLine: 'always', prev: 'block-like', next: '*' },