Browse Source

Put ESLint config into package.json

master
Leo Lamprecht 9 years ago
parent
commit
b235adf2a0
  1. 12
      .eslintrc.json
  2. 39
      package.json

12
.eslintrc.json

@ -1,12 +0,0 @@
{
"extends": "standard",
"parser": "babel-eslint",
"rules": {
"yoda": 0,
"arrow-parens": 0,
"semi": [2, "always"],
"no-extra-semi": 2,
"semi-spacing": [2, { "before": false, "after": true }],
"no-shadow": [2, {"builtinGlobals": true, "hoist": "functions"}]
}
}

39
package.json

@ -7,6 +7,33 @@
"files": [
"build"
],
"eslintConfig": {
"extends": "standard",
"parser": "babel-eslint",
"rules": {
"yoda": 0,
"arrow-parens": 0,
"semi": [
2,
"always"
],
"no-extra-semi": 2,
"semi-spacing": [
2,
{
"before": false,
"after": true
}
],
"no-shadow": [
2,
{
"builtinGlobals": true,
"hoist": "functions"
}
]
}
},
"bin": {
"now": "./build/bin/now"
},
@ -14,11 +41,15 @@
"ansi-escapes": "1.4.0",
"arr-flatten": "1.0.1",
"array-unique": "0.2.1",
"async-retry": "0.2.1",
"babel-runtime": "6.5.0",
"bytes": "2.3.0",
"chalk": "1.1.3",
"copy-paste": "1.2.0",
"cross-spawn-async": "2.2.4",
"domain-regex": "0.0.1",
"email-prompt": "0.1.8",
"email-validator": "1.0.4",
"fs-promise": "0.5.0",
"graceful-fs": "4.1.4",
"minimatch": "3.0.0",
@ -28,13 +59,9 @@
"progress": "1.1.8",
"resumer": "0.0.0",
"socket.io-client": "1.4.6",
"split-array": "1.0.1",
"text-table": "0.2.0",
"spdy": "3.3.3",
"email-validator": "1.0.4",
"email-prompt": "0.1.8",
"async-retry": "0.2.1",
"domain-regex": "0.0.1"
"split-array": "1.0.1",
"text-table": "0.2.0"
},
"devDependencies": {
"alpha-sort": "1.0.2",

Loading…
Cancel
Save