Skip to content

Commit f62c030

Browse files
committed
chore: fix lint issues
1 parent d17cbb8 commit f62c030

File tree

4 files changed

+2
-37
lines changed

4 files changed

+2
-37
lines changed

.eslintrc.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ module.exports = {
33
plugins: ['@typescript-eslint/eslint-plugin'],
44
extends: [
55
'plugin:@typescript-eslint/recommended',
6-
'plugin:prettier/recommended',
76
'plugin:react/recommended',
87
],
98
parserOptions: {
@@ -14,8 +13,8 @@ module.exports = {
1413
},
1514
},
1615
rules: {
17-
'prettier/prettier': 'error',
1816
'react/prop-types': 'off',
17+
'linebreak-style': 'off',
1918
},
2019
ignorePatterns: ['node_modules', 'lib'],
2120
settings: {

.prettierrc.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
"dev": "tsc --watch",
1313
"test": "jest",
1414
"lint": "eslint './src/**/*'",
15-
"check:all": "yarn lint && yarn build && yarn test",
16-
"prepare": "husky install"
15+
"check:all": "yarn lint && yarn build && yarn test"
1716
},
1817
"peerDependencies": {
1918
"adminjs": "^5.3.3"
@@ -29,10 +28,8 @@
2928
"eslint": "^7.12.1",
3029
"eslint-config-prettier": "^6.15.0",
3130
"eslint-plugin-import": "^2.22.1",
32-
"eslint-plugin-prettier": "^3.1.4",
3331
"eslint-plugin-react": "^7.21.5",
3432
"jest": "^26.6.1",
35-
"prettier": "^2.1.2",
3633
"semantic-release": "^17.2.2",
3734
"semantic-release-slack-bot": "^1.6.2",
3835
"ts-jest": "^26.4.3",

yarn.lock

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4305,13 +4305,6 @@ eslint-plugin-import@^2.22.1:
43054305
resolve "^1.17.0"
43064306
tsconfig-paths "^3.9.0"
43074307

4308-
eslint-plugin-prettier@^3.1.4:
4309-
version "3.1.4"
4310-
resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.4.tgz#168ab43154e2ea57db992a2cd097c828171f75c2"
4311-
integrity sha512-jZDa8z76klRqo+TdGDTFJSavwbnWK2ZpqGKNZ+VvweMW516pDUMmQ2koXvxEE4JhzNvTv+radye/bWGBmA6jmg==
4312-
dependencies:
4313-
prettier-linter-helpers "^1.0.0"
4314-
43154308
eslint-plugin-react@^7.21.5:
43164309
version "7.21.5"
43174310
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.21.5.tgz#50b21a412b9574bfe05b21db176e8b7b3b15bff3"
@@ -4590,11 +4583,6 @@ [email protected]:
45904583
resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.1.2.tgz#4b62c42b8e03de3f848460b639079920695d0154"
45914584
integrity sha512-KaJUt+M9t1qaIteSvjc6P3RbMdXsNhK61GRftR6SNxqmhthcd9MGIi4T+o0jD8LUSpSnSKXE20nLtJ3fOHxQig==
45924585

4593-
fast-diff@^1.1.2:
4594-
version "1.2.0"
4595-
resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03"
4596-
integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==
4597-
45984586
fast-glob@^3.1.1:
45994587
version "3.2.4"
46004588
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.4.tgz#d20aefbf99579383e7f3cc66529158c9b98554d3"
@@ -8427,18 +8415,6 @@ prepend-http@^1.0.1:
84278415
resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc"
84288416
integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=
84298417

8430-
prettier-linter-helpers@^1.0.0:
8431-
version "1.0.0"
8432-
resolved "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b"
8433-
integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==
8434-
dependencies:
8435-
fast-diff "^1.1.2"
8436-
8437-
prettier@^2.1.2:
8438-
version "2.1.2"
8439-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.1.2.tgz#3050700dae2e4c8b67c4c3f666cdb8af405e1ce5"
8440-
integrity sha512-16c7K+x4qVlJg9rEbXl7HEGmQyZlG4R9AgP+oHKRMsMsuk8s+ATStlf1NpDqyBI1HpVyfjLOeMhH2LvuNvV5Vg==
8441-
84428418
pretty-format@^26.0.0, pretty-format@^26.6.1:
84438419
version "26.6.1"
84448420
resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-26.6.1.tgz#af9a2f63493a856acddeeb11ba6bcf61989660a8"

0 commit comments

Comments
 (0)