/
.eslintrc.cjs
33 lines (31 loc) · 956 Bytes
/
.eslintrc.cjs
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
27
28
29
30
31
32
/* eslint-env node */
/**
* @fileoverview ESLint configuration file.
* @description This file contains the ESLint configuration for the project.
*/
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'airbnb-typescript/base'],
parser: '@typescript-eslint/parser',
parserOptions: {
sourceType: 'module',
project: './tsconfig.json'
},
plugins: ['@typescript-eslint', 'import'],
root: true,
ignorePatterns: ['dist/**/*', 'jest.config.cjs', '.eslintrc.cjs', 'rollup.config.js', 'tests/**/*'],
rules: {
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/member-delimiter-style': ['error', {
'multiline': {
'delimiter': 'semi',
'requireLast': true
},
'singleline': {
'delimiter': 'semi',
'requireLast': false
}
}],
'quotes': ['error', 'single'],
'@typescript-eslint/comma-dangle': ['error', 'never']
}
};