Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

Commit 8ed9e0c

Browse files
committed
chore: Fix ESLint error
1 parent 3b4ebbd commit 8ed9e0c

3 files changed

Lines changed: 9 additions & 8 deletions

File tree

.eslintrc.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@
44
"es2021": true,
55
"jest": true
66
},
7-
"extends": [
8-
"plugin:react/recommended",
9-
"standard",
10-
"prettier",
11-
"prettier/standard",
12-
"prettier/react"
13-
],
7+
"extends": ["plugin:react/recommended", "standard", "prettier"],
148
"parser": "@typescript-eslint/parser",
159
"parserOptions": {
1610
"ecmaFeatures": {

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
typings/
2+
node_modules/
3+
dist/
4+
coverage/
5+
.cache/
6+
public/

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"prebuild": "lerna exec --parallel -- rimraf dist typings",
2020
"build": "lerna exec --parallel -- rollup -c ../../rollup.config.js",
2121
"test": "jest",
22-
"lint": "eslint packages --ext ts,tsx",
22+
"lint": "eslint packages --ext js,ts,tsx --ignore-path .prettierignore",
23+
"format": "prettier \"**/*.+(ts|js|tsx)\" --write",
2324
"coveralls": "cat ./coverage/lcov.info | coveralls",
2425
"tsc": "tsc --skipLibCheck",
2526
"prepublishOnly": "npm run test && npm run build",

0 commit comments

Comments
 (0)