%PDF- %PDF-
| Direktori : /home/opti/optisoftcom/.trash/ |
| Current File : /home/opti/optisoftcom/.trash/.eslintrc |
{
"env": {
"node": true,
"es6": true,
"browser": true,
"mocha": true
},
"parser": "babel-eslint",
"rules": {
"camelcase": "error",
"spaced-comment": "error",
"arrow-spacing":"error",
"constructor-super":"error",
"comma-spacing":"error",
"vars-on-top":"error",
"jsx-quotes":"error",
"strict":0,
"global-require":"error",
"max-statements-per-line":"error",
"no-alert":"warn",
"no-console":"warn",
"no-dupe-keys":"error",
"no-duplicate-imports":"error",
"prefer-const":"error",
"prefer-template":"error",
"no-irregular-whitespace":"error",
"no-return-await": "error",
"no-self-assign": "error",
"no-throw-literal": "error",
"no-unused-labels": "error",
"no-useless-call": "error",
"no-useless-concat": "error",
"no-useless-escape": "error",
"no-useless-return": "error",
"no-void": "error",
"no-with": "error",
"accessor-pairs": "error",
"array-callback-return": "error",
"dot-location": ["error", "property"],
"eqeqeq": ["error", "smart"],
"no-fallthrough": "error",
"no-global-assign": "error",
"no-multi-spaces": ["error", {"ignoreEOLComments": true}],
"no-octal": "error",
"no-proto": "error",
"no-redeclare": "error",
"no-delete-var": "error",
"no-undef": "error",
"no-unused-vars": ["error", {"args": "none"}],
"no-use-before-define": ["error", {"classes": true, "functions": false,
"variables": false}],
"block-spacing": "error",
"brace-style": ["error", "1tbs", {"allowSingleLine": true}],
"comma-dangle": ["error", "only-multiline"],
"comma-style": "error",
"computed-property-spacing": "error",
"eol-last": "error",
"func-call-spacing": "error",
"func-name-matching": "error",
"func-style": ["error", "declaration", {"allowArrowFunctions": true}],
"indent": ["error", 2, {"ArrayExpression": "first",
"CallExpression": {"arguments": "first"},
"FunctionDeclaration": {"parameters": "first"},
"FunctionExpression": {"parameters": "first"},
"MemberExpression": "off",
"ObjectExpression": "first",
"SwitchCase": 1}],
"key-spacing": ["error", {"mode": "minimum"}],
"keyword-spacing": "error",
"linebreak-style": ["error", "unix"],
"max-len": ["error", {"code": 80, "ignorePattern": "^\/\/ Flags:",
"ignoreRegExpLiterals": true, "ignoreUrls": true,
"tabWidth": 2}],
"new-parens": "error",
"no-lonely-if": "error",
"no-mixed-spaces-and-tabs": "error",
"no-multiple-empty-lines": ["error", {"max": 2, "maxEOF": 0, "maxBOF": 0}],
"no-tabs": "error",
"no-trailing-spaces": "error",
"object-curly-spacing": ["error", "always"],
"one-var-declaration-per-line": "error",
"operator-linebreak": ["error", "after"],
"quotes": ["error", "single", "avoid-escape"],
"semi": "error",
"semi-spacing": "error",
"space-before-blocks": ["error", "always"],
"space-before-function-paren": ["error", {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}],
"space-in-parens": ["error", "never"],
"space-infix-ops": "error",
"space-unary-ops": "error",
"unicode-bom": "error"
}
}