1
0
mirror of https://github.com/kremalicious/hyper-mac-pro.git synced 2024-12-22 17:23:24 +01:00

Merge pull request #19 from kremalicious/feature/eslint

switch to eslint
This commit is contained in:
Matthias Kretschmann 2018-08-16 17:43:33 +02:00 committed by GitHub
commit 213bc2a444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"
}
}