UNPKG

766 BJavaScriptView Raw
1module.exports = {
2 parser: '@typescript-eslint/parser',
3 parserOptions: {
4 project: 'tsconfig.json',
5 sourceType: 'module',
6 },
7 plugins: ['@typescript-eslint/eslint-plugin'],
8 extends: [
9 'plugin:@typescript-eslint/eslint-recommended',
10 'plugin:@typescript-eslint/recommended',
11 ],
12 root: true,
13 env: {
14 node: true,
15 },
16 rules: {
17 // "quotes": [2, "single"],
18 "semi": 2,
19 "max-len": [2, 150],
20 '@typescript-eslint/interface-name-prefix': 'off',
21 '@typescript-eslint/explicit-function-return-type': 'off',
22 '@typescript-eslint/no-explicit-any': 'off',
23 '@typescript-eslint/explicit-module-boundary-types': 'off',
24 '@typescript-eslint/ban-types': 'off',
25 '@typescript-eslint/no-non-null-assertion': 'off',
26 },
27};