Skip to content

Commit 3db109a

Browse files
Added prettier task (#1608)
* Added prettier task * adapt lint to use our config and adapt prettier task Co-authored-by: Moritz Heusinger <[email protected]>
1 parent 00b3b42 commit 3db109a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.prettierignore

+4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
# Ignore artifacts:
22
build
3+
**/node_modules/**/*
4+
packages/controller/data/**/*
5+
packages/controller/doc/**/*
6+
data

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
"build:ts": "lerna run build",
5858
"build": "npm run build:ts",
5959
"release": "release-script",
60-
"lint": "eslint \"packages/*/*.js\" \"packages/*/lib/**/*.js\"",
60+
"lint": "eslint .",
61+
"prettier": "eslint . --fix",
6162
"test": "mocha packages/controller/test --exit",
6263
"test-jsonl": "mocha packages/controller/test/jsonl/ --exit",
6364
"test-redis-socket": "mocha packages/controller/test/redis-socket/ --exit",

0 commit comments

Comments
 (0)