diff options
author | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2021-03-19 02:22:55 +0300 |
---|---|---|
committer | Alexander Kiryukhin <a.kiryukhin@mail.ru> | 2021-03-19 02:22:55 +0300 |
commit | 3d94211018aa28c32605e001e62b3dbe7f9305f3 (patch) | |
tree | 50c42120d7f4030700a57198340c1c36d87cea15 /.eslintrc.js |
v0.0.1
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..91729d3 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,23 @@ +/**@type {import('eslint').Linter.Config} */ +// eslint-disable-next-line no-undef +module.exports = { + root: true, + parser: '@typescript-eslint/parser', + plugins: [ + '@typescript-eslint', + ], + extends: [ + 'eslint:recommended', + 'plugin:@typescript-eslint/recommended', + ], + rules: { + 'semi': [ + 2, + "always" + ], + '@typescript-eslint/no-unused-vars': 0, + '@typescript-eslint/no-explicit-any': 0, + '@typescript-eslint/explicit-module-boundary-types': 0, + '@typescript-eslint/no-non-null-assertion': 0, + } +}; |