misc: switch from tsfmt to eslint

This commit is contained in:
Bert Belder 2017-12-11 23:50:08 +01:00
parent fabbb839c1
commit cdd70c9e3d
2 changed files with 26 additions and 7 deletions

26
.eslintrc.json Normal file
View File

@ -0,0 +1,26 @@
{
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"indent": [
"error",
4
],
"linebreak-style": [
"error",
"unix"
],
"no-console": "off",
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
}

View File

@ -1,7 +0,0 @@
{
"indentSize": 2,
"tabSize": 2,
"indentStyle": 2,
"newLineCharacter": "\n",
"convertTabsToSpaces": true
}