chore: setting up linter for propagators

This commit is contained in:
Reza Karimi 2020-06-25 17:59:45 +00:00 committed by Daniel Dyla
parent 111eae4c14
commit ea705c3eb2
4 changed files with 10 additions and 6 deletions

View File

@ -0,0 +1 @@
build

View File

@ -0,0 +1,7 @@
module.exports = {
"env": {
"mocha": true,
"node": true
},
...require('../../eslint.config.js')
}

View File

@ -13,8 +13,8 @@
"tdd:browser": "karma start",
"codecov": "nyc report --reporter=json && codecov -f coverage/*.json -p ../../",
"clean": "rimraf build/*",
"lint": "gts check",
"lint:fix": "gts fix",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"precompile": "tsc --version",
"compile": "npm run version:update && tsc -p .",
"prepare": "npm run compile",

View File

@ -1,4 +0,0 @@
{
"rulesDirectory": ["node_modules/tslint-microsoft-contrib"],
"extends": ["../../tslint.base.js", "./node_modules/tslint-consistent-codestyle"]
}