forked from DeepLcom/deepl-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
26 lines (26 loc) · 752 Bytes
/
.eslintrc.js
File metadata and controls
26 lines (26 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
module.exports = exports = {
root: true,
parser: '@typescript-eslint/parser',
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig-eslint.json'],
},
plugins: ['@typescript-eslint', 'import'],
extends: [
'eslint:recommended',
'airbnb-typescript',
'plugin:@typescript-eslint/recommended',
'plugin:eslint-comments/recommended',
'plugin:promise/recommended',
'prettier',
],
env: {
node: true,
},
ignorePatterns: ['node_modules/**', 'dist/**', 'examples/**', '**/*.js'],
rules: {
eqeqeq: 'error',
'@typescript-eslint/lines-between-class-members': 'off',
'react/jsx-filename-extension': 'off',
},
};