Skip to content

Commit

Permalink
style: eslint configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrip7 committed Apr 1, 2022
1 parent 43de924 commit 0bffc18
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,21 @@
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
},
plugins: ['@typescript-eslint/eslint-plugin'],
extends: ['plugin:@typescript-eslint/recommended', 'plugin:prettier/recommended'],
root: true,
env: {
node: true,
jest: true,
},
ignorePatterns: ['.eslintrc.js'],
rules: {
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
},
};

0 comments on commit 0bffc18

Please sign in to comment.