mirror of
https://github.com/kremalicious/hyper-mac-pro.git
synced 2024-11-21 09:17:11 +01:00
switch to eslint
This commit is contained in:
parent
0ae3ee6a3e
commit
7dfce18f74
13
.eslintrc
Normal file
13
.eslintrc
Normal 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"]
|
||||
}
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"extends": "stylelint-config-standard",
|
||||
"rules": {
|
||||
"indentation": 4,
|
||||
"number-leading-zero": "never"
|
||||
}
|
||||
}
|
14
package.json
14
package.json
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user