1
0
mirror of https://github.com/kremalicious/hyper-mac-pro.git synced 2024-12-21 16:53:22 +01:00

switch to eslint

This commit is contained in:
Matthias Kretschmann 2018-08-15 22:45:22 +02:00
parent 0ae3ee6a3e
commit 7dfce18f74
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 16 additions and 18 deletions

13
.eslintrc Normal file
View File

@ -0,0 +1,13 @@
{
"extends": ["eslint:recommended"],
"env": {
"browser": true,
"node": true,
"es6": true
},
"rules": {
"indent": ["error", 4],
"quotes": ["error", "single"],
"semi": ["error", "never"]
}
}

View File

@ -1,7 +0,0 @@
{
"extends": "stylelint-config-standard",
"rules": {
"indentation": 4,
"number-leading-zero": "never"
}
}

View File

@ -6,7 +6,7 @@
"author": "Matthias Kretschmann <m@kretschmann.io>",
"main": "index.js",
"scripts": {
"test": "xo",
"test": "eslint .",
"precommit": "npm run test",
"release": "./node_modules/release-it/bin/release-it.js --src.tagName='v%s' --github.release --npm.publish --non-interactive",
"release-minor": "./node_modules/release-it/bin/release-it.js minor --src.tagName='v%s' --github.release --npm.publish --non-interactive",
@ -17,14 +17,6 @@
"styles.js"
],
"repository": "kremalicious/hyper-mac-pro",
"xo": {
"esnext": true,
"space": 4,
"semicolon": false,
"globals": [
"document"
]
},
"keywords": [
"hyper",
"hyperterm",
@ -38,8 +30,8 @@
"pro"
],
"devDependencies": {
"eslint": "^5.3.0",
"husky": "^0.14.0",
"release-it": "^7.0.2",
"xo": "^0.22.0"
"release-it": "^7.0.2"
}
}