Skip to content

Commit 099e078

Browse files
chore(): fix linter setup
1 parent ad22a28 commit 099e078

File tree

3 files changed

+67
-4
lines changed

3 files changed

+67
-4
lines changed

.eslintrc.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
module.exports = {
22
parser: '@typescript-eslint/parser',
33
parserOptions: {
4-
project: ['./tsconfig.json', './tsconfig.build.json'],
4+
project: 'tsconfig.json',
55
sourceType: 'module',
66
},
77
plugins: ['@typescript-eslint/eslint-plugin'],
88
extends: [
9-
'plugin:@typescript-eslint/eslint-recommended',
109
'plugin:@typescript-eslint/recommended',
11-
'prettier',
12-
'prettier/@typescript-eslint',
10+
'plugin:prettier/recommended',
1311
],
1412
root: true,
1513
env: {

package-lock.json

Lines changed: 64 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"eslint": "7.32.0",
3434
"eslint-config-prettier": "8.3.0",
3535
"eslint-plugin-import": "2.24.2",
36+
"eslint-plugin-prettier": "4.0.0",
3637
"husky": "7.0.2",
3738
"jest": "27.2.2",
3839
"lint-staged": "11.1.2",

0 commit comments

Comments
 (0)