Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .prettierc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.prettierrc (spelling mistake in file name)

"singleQuote": true,
"trailingComma": "all",
"tabWidth": 2,
"semi": false
}
193 changes: 186 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@
"dependencies": {
"amqplib": "^0.5.2",
"newrelic": "^6.5.0",
"prettier": "^2.0.5",
"raven": "^2.6.4",
"shelljs": "^0.8.1"
"shelljs": "^0.8.1",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.3.0"
},
"nyc": {
"extension": [
Expand All @@ -42,6 +46,8 @@
"dev": "NODE_PATH=dist nodemon dist/taskmaster.js",
"test": "docker build . -t codingblocks/judge-taskmaster && mocha --timeout 10000 --exit --require ts-node/register test/**/*.ts",
"test.parallel": "mocha-parallel-tests --timeout 10000 --exit --require ts-node/register test/**/*.ts",
"lint": "tslint --project .",
"lint:fix": "tslint --fix --project",
"cover": "nyc npm test"
},
"engines": {
Expand Down
14 changes: 14 additions & 0 deletions tslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"defaultSeverity": "error",
"extends": [
"tslint:latest",
"tslint-config-prettier"
],
"jsRules": {},
"rules": {
"prettier": true
},
"rulesDirectory": [
"tslint-plugin-prettier"
]
}