updated pm2 global
This commit is contained in:
parent
ee93544d7c
commit
8abfa002d0
@ -12,35 +12,44 @@
|
|||||||
"es6": true
|
"es6": true
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"no-new-object": 1,
|
"arrow-spacing": "error",
|
||||||
"no-reserved-keys": 1,
|
"block-scoped-var": "error",
|
||||||
"no-array-constructor": 1,
|
"block-spacing": "error",
|
||||||
"quotes": [1, "single"],
|
"brace-style": ["error", "stroustrup", {}],
|
||||||
"max-len": [1, 120, 2], // 2 spaces per tab, max 80 chars per line
|
"camelcase": "error",
|
||||||
"no-inner-declarations": [1, "both"],
|
"comma-dangle": ["error", "never"],
|
||||||
"no-shadow-restricted-names": 1,
|
"comma-spacing": ["error", { "before": false, "after": true }],
|
||||||
"one-var": 0,
|
"comma-style": [1, "last"],
|
||||||
"vars-on-top": 1,
|
"consistent-this": [1, "_this"],
|
||||||
"eqeqeq": 1,
|
|
||||||
"curly": [1, "multi"],
|
"curly": [1, "multi"],
|
||||||
|
"eol-last": 1,
|
||||||
|
"eqeqeq": 1,
|
||||||
|
"func-names": 1,
|
||||||
|
"indent": ["error", 2, { "SwitchCase": 1 }],
|
||||||
|
"lines-around-comment": ["error", { "beforeBlockComment": true, "allowArrayStart": true }],
|
||||||
|
"max-len": [1, 120, 2], // 2 spaces per tab, max 80 chars per line
|
||||||
|
"new-cap": 1,
|
||||||
|
"newline-before-return": "error",
|
||||||
|
"no-array-constructor": 1,
|
||||||
|
"no-inner-declarations": [1, "both"],
|
||||||
"no-mixed-spaces-and-tabs": 1,
|
"no-mixed-spaces-and-tabs": 1,
|
||||||
|
"no-multi-spaces": 2,
|
||||||
|
"no-new-object": 1,
|
||||||
|
"no-shadow-restricted-names": 1,
|
||||||
|
"object-curly-spacing": ["error", "always"],
|
||||||
|
"padded-blocks": ["error", { "blocks": "never", "switches": "always" }],
|
||||||
|
"prefer-const": "error",
|
||||||
|
"prefer-template": "error",
|
||||||
|
"one-var": 0,
|
||||||
|
"quote-props": ["error", "always"],
|
||||||
|
"quotes": [1, "single"],
|
||||||
|
"radix": 1,
|
||||||
|
"semi": [1, "always"],
|
||||||
"space-before-blocks": [1, "always"],
|
"space-before-blocks": [1, "always"],
|
||||||
"space-infix-ops": 1,
|
"space-infix-ops": 1,
|
||||||
"eol-last": 1,
|
"vars-on-top": 1,
|
||||||
"comma-style": [1, "last"],
|
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 1 }],
|
||||||
"no-comma-dangle": 1,
|
"spaced-comment": ["error", "always", { "markers": ["/"] }]
|
||||||
"semi": [1, "always"],
|
|
||||||
"radix": 1,
|
|
||||||
"camelcase": 1,
|
|
||||||
"new-cap": 1,
|
|
||||||
"consistent-this": [1, "_this"],
|
|
||||||
"func-names": 1,
|
|
||||||
"no-multi-spaces": 2,
|
|
||||||
"brace-style": [2,"1tbs",{}],
|
|
||||||
|
|
||||||
"indent": [2,2],
|
|
||||||
"comma-spacing": ["error", { "before": false, "after": true }],
|
|
||||||
"object-curly-spacing": ["error", "always"]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
55
dev_dotfiles/eslintrc.json
Normal file
55
dev_dotfiles/eslintrc.json
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
{
|
||||||
|
"parserOptions": {
|
||||||
|
"ecmaVersion": 6,
|
||||||
|
"sourceType": "module",
|
||||||
|
"ecmaFeatures": {
|
||||||
|
"jsx": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"env": {
|
||||||
|
"browser": true,
|
||||||
|
"node": true,
|
||||||
|
"es6": true
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
"arrow-spacing": "error",
|
||||||
|
"block-scoped-var": "error",
|
||||||
|
"block-spacing": "error",
|
||||||
|
"brace-style": ["error", "stroustrup", {}],
|
||||||
|
"camelcase": "error",
|
||||||
|
"comma-dangle": ["error", "never"],
|
||||||
|
"comma-spacing": ["error", { "before": false, "after": true }],
|
||||||
|
"comma-style": [1, "last"],
|
||||||
|
"consistent-this": [1, "_this"],
|
||||||
|
"curly": [1, "multi"],
|
||||||
|
"eol-last": 1,
|
||||||
|
"eqeqeq": 1,
|
||||||
|
"func-names": 1,
|
||||||
|
"indent": ["error", 2, { "SwitchCase": 1 }],
|
||||||
|
"lines-around-comment": ["error", { "beforeBlockComment": true, "allowArrayStart": true }],
|
||||||
|
"max-len": [1, 120, 2], // 2 spaces per tab, max 80 chars per line
|
||||||
|
"new-cap": 1,
|
||||||
|
"newline-before-return": "error",
|
||||||
|
"no-array-constructor": 1,
|
||||||
|
"no-inner-declarations": [1, "both"],
|
||||||
|
"no-mixed-spaces-and-tabs": 1,
|
||||||
|
"no-multi-spaces": 2,
|
||||||
|
"no-new-object": 1,
|
||||||
|
"no-shadow-restricted-names": 1,
|
||||||
|
"object-curly-spacing": ["error", "always"],
|
||||||
|
"padded-blocks": ["error", { "blocks": "never", "switches": "always" }],
|
||||||
|
"prefer-const": "error",
|
||||||
|
"prefer-template": "error",
|
||||||
|
"one-var": 0,
|
||||||
|
"quote-props": ["error", "always"],
|
||||||
|
"quotes": [1, "single"],
|
||||||
|
"radix": 1,
|
||||||
|
"semi": [1, "always"],
|
||||||
|
"space-before-blocks": [1, "always"],
|
||||||
|
"space-infix-ops": 1,
|
||||||
|
"vars-on-top": 1,
|
||||||
|
"no-multiple-empty-lines": ["error", { "max": 1, "maxEOF": 1 }],
|
||||||
|
"spaced-comment": ["error", "always", { "markers": ["/"] }]
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -7,7 +7,7 @@
|
|||||||
"name": "SilvrPipes",
|
"name": "SilvrPipes",
|
||||||
"script": "pipes-server.js",
|
"script": "pipes-server.js",
|
||||||
"cwd": "/home/martind2000/dev/Rinser",
|
"cwd": "/home/martind2000/dev/Rinser",
|
||||||
"watch": true,
|
"watch": false,
|
||||||
"ignore_watch": [
|
"ignore_watch": [
|
||||||
"node_modules" , ".git", "dist"
|
"node_modules" , ".git", "dist"
|
||||||
],
|
],
|
||||||
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"name": "Lot",
|
"name": "Lot",
|
||||||
"script": "lot.js",
|
"script": "app.js",
|
||||||
"cwd": "/home/martind2000/dev/lot",
|
"cwd": "/home/martind2000/dev/lot",
|
||||||
"watch": false,
|
"watch": false,
|
||||||
"ignore_watch": [
|
"ignore_watch": [
|
||||||
@ -75,7 +75,7 @@
|
|||||||
"name": "Keeper",
|
"name": "Keeper",
|
||||||
"script": "keeper-server.js",
|
"script": "keeper-server.js",
|
||||||
"cwd": "/home/martind2000/dev/keeper",
|
"cwd": "/home/martind2000/dev/keeper",
|
||||||
"watch": true,
|
"watch": false,
|
||||||
"ignore_watch": [
|
"ignore_watch": [
|
||||||
"node_modules" , ".git"
|
"node_modules" , ".git"
|
||||||
],
|
],
|
||||||
@ -92,7 +92,7 @@
|
|||||||
"name": "SilvrAPI",
|
"name": "SilvrAPI",
|
||||||
"script": "newapp.js",
|
"script": "newapp.js",
|
||||||
"cwd": "/home/martind2000/dev/silvrapi",
|
"cwd": "/home/martind2000/dev/silvrapi",
|
||||||
"watch": true,
|
"watch": false,
|
||||||
"ignore_watch": [
|
"ignore_watch": [
|
||||||
"node_modules" , ".git"
|
"node_modules" , ".git"
|
||||||
],
|
],
|
||||||
@ -109,7 +109,7 @@
|
|||||||
"name": "Logger",
|
"name": "Logger",
|
||||||
"script": "logger-server.js",
|
"script": "logger-server.js",
|
||||||
"cwd": "/home/martind2000/dev/logger",
|
"cwd": "/home/martind2000/dev/logger",
|
||||||
"watch": true,
|
"watch": false,
|
||||||
"ignore_watch": [
|
"ignore_watch": [
|
||||||
"node_modules" , ".git"
|
"node_modules" , ".git"
|
||||||
],
|
],
|
||||||
@ -126,7 +126,7 @@
|
|||||||
"name": "Recipe",
|
"name": "Recipe",
|
||||||
"script": "recipe-server.js",
|
"script": "recipe-server.js",
|
||||||
"cwd": "/home/martind2000/dev/recipes",
|
"cwd": "/home/martind2000/dev/recipes",
|
||||||
"watch": true,
|
"watch": false,
|
||||||
"ignore_watch": [
|
"ignore_watch": [
|
||||||
"node_modules" , ".git"
|
"node_modules" , ".git"
|
||||||
],
|
],
|
||||||
@ -143,7 +143,7 @@
|
|||||||
"name": "nURL",
|
"name": "nURL",
|
||||||
"script": "app.js",
|
"script": "app.js",
|
||||||
"cwd": "/home/martind2000/dev/nurl",
|
"cwd": "/home/martind2000/dev/nurl",
|
||||||
"watch": true,
|
"watch": false,
|
||||||
"ignore_watch": [
|
"ignore_watch": [
|
||||||
"node_modules"
|
"node_modules"
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user