Add tslint and tslint-xo
See https://github.com/sindresorhus/is/pull/28#issuecomment-341071631
This commit is contained in:
parent
b4f70336d5
commit
57e8b70644
2 changed files with 6 additions and 0 deletions
|
|
@ -16,6 +16,7 @@
|
|||
"node": ">=4"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "tslint --project .",
|
||||
"test": "tsc && ava dist/tests",
|
||||
"build": "tsc",
|
||||
"prepublish": "tsc"
|
||||
|
|
@ -51,6 +52,8 @@
|
|||
"@types/node": "^8.0.47",
|
||||
"ava": "*",
|
||||
"jsdom": "^11.3.0",
|
||||
"tslint": "^5.8.0",
|
||||
"tslint-xo": "^0.2.0",
|
||||
"typescript": "^2.6.1"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
3
tslint.json
Normal file
3
tslint.json
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"extends": "tslint-xo"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue