kopia lustrzana https://github.com/rastapasta/mapscii
Add ESLint configuration
rodzic
069de8c227
commit
0c27a79ad6
|
@ -0,0 +1,29 @@
|
|||
module.exports = {
|
||||
"env": {
|
||||
"es6": true,
|
||||
"node": true
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"rules": {
|
||||
"indent": [
|
||||
"error",
|
||||
2,
|
||||
{
|
||||
"SwitchCase": 1
|
||||
}
|
||||
],
|
||||
"linebreak-style": [
|
||||
"error",
|
||||
"unix"
|
||||
],
|
||||
"no-console": 0,
|
||||
"quotes": [
|
||||
"error",
|
||||
"single"
|
||||
],
|
||||
"semi": [
|
||||
"error",
|
||||
"always"
|
||||
]
|
||||
}
|
||||
};
|
Plik diff jest za duży
Load Diff
|
@ -43,5 +43,8 @@
|
|||
"term-mouse": "^0.2.0",
|
||||
"userhome": "^1.0.0",
|
||||
"x256": "0.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^4.13.1"
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue