Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
667 bytes
|
Line | |
---|
1 | // npm i -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-prettier eslint-plugin-tree-shaking
|
---|
2 | module.exports = {
|
---|
3 | root: true,
|
---|
4 | parser: '@typescript-eslint/parser',
|
---|
5 | plugins: ['@typescript-eslint', 'tree-shaking'],
|
---|
6 | extends: [
|
---|
7 | 'eslint:recommended',
|
---|
8 | 'plugin:@typescript-eslint/eslint-recommended',
|
---|
9 | 'plugin:@typescript-eslint/recommended',
|
---|
10 | 'prettier/@typescript-eslint',
|
---|
11 | ],
|
---|
12 | rules: {
|
---|
13 | '@typescript-eslint/no-explicit-any': 'off',
|
---|
14 | '@typescript-eslint/ban-ts-ignore': 'off',
|
---|
15 | 'tree-shaking/no-side-effects-in-initialization': 'error',
|
---|
16 | '@typescript-eslint/explicit-module-boundary-types': 'off'
|
---|
17 | },
|
---|
18 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.