mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-11 04:48:32 +03:00
change linter to standard
This commit is contained in:
21
package.json
21
package.json
@@ -7,25 +7,10 @@
|
||||
"dev": "nodemon -w src --exec \"babel-node src\"",
|
||||
"build": "npx babel src -d dist",
|
||||
"start": "node dist",
|
||||
"lint": "eslint src",
|
||||
"lint": "standard \"src/**/*.js\"",
|
||||
"test-watch": "ava --watch",
|
||||
"test": "ava --verbose"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "eslint:recommended",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 7,
|
||||
"sourceType": "module"
|
||||
},
|
||||
"env": {
|
||||
"node": true,
|
||||
"es6": true
|
||||
},
|
||||
"rules": {
|
||||
"no-console": 0,
|
||||
"no-unused-vars": 1
|
||||
}
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/developit/express-es6-rest-api.git"
|
||||
@@ -54,8 +39,8 @@
|
||||
"@babel/preset-env": "^7.1.0",
|
||||
"@babel/register": "^7.0.0",
|
||||
"ava": "1.0.0-beta.8",
|
||||
"eslint": "^3.1.1",
|
||||
"nodemon": "^1.9.2"
|
||||
"nodemon": "^1.9.2",
|
||||
"standard": "^12.0.1"
|
||||
},
|
||||
"babel": {
|
||||
"presets": [
|
||||
|
||||
Reference in New Issue
Block a user