lj-log4js-pm2intercom
Version:
pm2-intercom is problematic with PM2 2.x, this is a mimic version to temporarily resolve some problem in our own project
216 lines (215 loc) • 3.96 kB
JSON
{
"plugins": [
"react"
],
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
},
"allowImportExportEverywhere": true
},
"env": {
"browser": true,
"node": true,
"es6": true,
"commonjs": true,
"worker": true,
"jasmine": true,
"jquery": true
},
"globals": {
"File": true,
"__api": true,
"__drcpEntryPage": false,
"$translate": true,
"TweenMax": false,
"Linear": false,
"Power2": false,
"TimelineLite": false,
"angular": true,
"drTranslate": true
},
"rules": {
"object-shorthand": [1, "always", {"avoidQuotes": true, "ignoreConstructors": true}],
"max-lines": ["error", 400],
"no-bitwise": 0,
"eqeqeq": [2, "smart"],
"guard-for-in": 2,
"no-extend-native": 2,
"wrap-iife": [
2,
"any"
],
"no-use-before-define": 0,
"new-cap": 0,
"no-caller": 2,
"no-new": 0,
"no-plusplus": 0,
"no-constant-condition": "off",
"quotes": [
2,
"single"
],
"no-undef": 2,
"no-unused-vars": [2, {
"args": "none"
}],
"strict": 0,
"semi": [2, "always"],
"no-console": [1, {
"allow": ["warn", "error"]
}],
"no-cond-assign": 0,
"no-debugger": 0,
"no-eq-null": 0,
"no-eval": 0,
"no-unused-expressions": 0,
"block-scoped-var": 0,
"no-iterator": 1,
"linebreak-style": 1,
"no-loop-func": 2,
"no-proto": 2,
"no-script-url": 0,
"no-shadow": 0,
"dot-notation": [2, {
"allowKeywords": true,
"allowPattern": "catch|finally"
}],
"no-new-func": 0,
"no-new-wrappers": 0,
"no-invalid-this": 0,
"no-empty": [
2,
{
"allowEmptyCatch": true
}
],
"brace-style": [
2,
"1tbs",
{
"allowSingleLine": true
}
],
"no-mixed-spaces-and-tabs": 2,
"no-multi-str": 2,
"dot-location": [
2,
"property"
],
"operator-linebreak": [
2,
"after"
],
"padded-blocks": [
2,
"never"
],
"quote-props": [
2,
"as-needed",
{
"keywords": true
}
],
"space-infix-ops": 2,
"key-spacing": [
2,
{
"beforeColon": false,
"afterColon": true
}
],
"space-unary-ops": [
2,
{
"words": false,
"nonwords": false
}
],
"space-before-function-paren": [
2,
{
"anonymous": "ignore",
"named": "never"
}
],
"no-spaced-func": 2,
"array-bracket-spacing": [
2,
"never",
{
"arraysInArrays": true
}
],
"no-trailing-spaces": [2, {
"ignoreComments": true
}],
"yoda": [
2,
"never"
],
"camelcase": 0,
"comma-style": [
2,
"last"
],
"curly": [
0,
"multi"
],
"eol-last": 1,
"one-var": [
2,
{
"initialized": "never"
}
],
"no-useless-escape": 1,
"space-before-blocks": [2, "always"],
"keyword-spacing": [
2,
{
"overrides": {
"else": {
"before": true
},
"while": {
"before": true
},
"catch": {
"before": true
}
}
}
],
"indent": [
1,
"tab",
{
"SwitchCase": 1,
"MemberExpression": "off"
}
],
"valid-jsdoc": [1, {
"requireReturn": false,
"requireReturnType": false,
"requireParamDescription": false,
"requireReturnDescription": false
}],
"arrow-spacing": [2, {
"before": true,
"after": true
}],
"constructor-super": 2,
"require-yield": 2,
"rest-spread-spacing": [2, "never"]
}
}