Skip to content

Commit bf0e360

Browse files
committed
fix: lint
1 parent b169d06 commit bf0e360

File tree

3 files changed

+233
-122
lines changed

3 files changed

+233
-122
lines changed

.eslintrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@
7171
"react-hooks/exhaustive-deps": "error",
7272
"import/no-named-as-default": "off",
7373
"prefer-object-spread": "off",
74-
"arrow-body-style": "off"
74+
"arrow-body-style": "off",
75+
"react/sort-comp": "off"
7576
},
7677
"overrides": [
7778
{

package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"postbuild": "yarn pkg props-docs build",
4444
"test": "jest",
4545
"test:ci": "jest --runInBand",
46-
"lint": "eslint",
46+
"lint": "eslint packages/**/src/ --ext .ts,.tsx --config .eslintrc",
4747
"lint:types": "lerna run lint:types --no-private --stream",
4848
"prestorybook": "rimraf node_modules/.cache/storybook && yarn build:babel",
4949
"storybook": "start-storybook -p 6006",
@@ -125,16 +125,16 @@
125125
"discord.js": "^12.5.3",
126126
"dotenv-cli": "4.1.0",
127127
"edit-json-file": "1.6.0",
128-
"eslint": "8.1.0",
129-
"eslint-config-airbnb-typescript": "14.0.1",
130-
"eslint-config-prettier": "8.3.0",
128+
"eslint": "7.17.0",
129+
"eslint-config-airbnb-typescript": "12.0.0",
130+
"eslint-config-prettier": "7.1.0",
131131
"eslint-config-react": "1.1.7",
132-
"eslint-plugin-import": "2.25.2",
132+
"eslint-plugin-import": "2.22.1",
133133
"eslint-plugin-jsx-a11y": "6.4.1",
134-
"eslint-plugin-prettier": "4.0.0",
135-
"eslint-plugin-react": "7.26.1",
134+
"eslint-plugin-prettier": "3.3.0",
135+
"eslint-plugin-react": "7.22.0",
136136
"eslint-plugin-react-hooks": "4.2.0",
137-
"eslint-plugin-testing-library": "5.0.0",
137+
"eslint-plugin-testing-library": "3.9.2",
138138
"esm": "3.2.25",
139139
"execa": "5.1.1",
140140
"framer-motion": "^4.0.0",

0 commit comments

Comments
 (0)