Authentication may or may not now work
This commit is contained in:
+118
-48
@@ -13,55 +13,125 @@
|
||||
"import"
|
||||
],
|
||||
"rules": {
|
||||
"indent": ["error", "tab", {
|
||||
"FunctionDeclaration": {
|
||||
"parameters": 2,
|
||||
"body": 1
|
||||
},
|
||||
"FunctionExpression": {
|
||||
"parameters": 2,
|
||||
"body": 1
|
||||
},
|
||||
"VariableDeclarator": 2,
|
||||
"CallExpression": {
|
||||
"arguments": 2
|
||||
},
|
||||
"MemberExpression": "off",
|
||||
"ImportDeclaration": "first"
|
||||
}],
|
||||
"object-curly-newline": ["error", {
|
||||
"minProperties": 5,
|
||||
"consistent": true
|
||||
}],
|
||||
"one-var": ["error", {
|
||||
"initialized": "never",
|
||||
"uninitialized": "always"
|
||||
}],
|
||||
"one-var-declaration-per-line": ["error", "initializations"],
|
||||
"quotes": ["error", "double"],
|
||||
"semi": ["error", "never"],
|
||||
"comma-dangle": ["error", "always-multiline"],
|
||||
"max-len": ["warn", 80],
|
||||
"camelcase": ["error", {"properties": "always"}],
|
||||
"space-before-function-paren": ["error", "never"],
|
||||
"func-style": ["warn", "declaration", {"allowArrowFunctions": true}],
|
||||
"id-length": ["warn", {"max": 25, "exceptions": ["i", "x", "y", "$"]}],
|
||||
"indent": [
|
||||
"error",
|
||||
"tab",
|
||||
{
|
||||
"FunctionDeclaration": {
|
||||
"parameters": 2,
|
||||
"body": 1
|
||||
},
|
||||
"FunctionExpression": {
|
||||
"parameters": 2,
|
||||
"body": 1
|
||||
},
|
||||
"VariableDeclarator": 2,
|
||||
"CallExpression": {
|
||||
"arguments": 2
|
||||
},
|
||||
"MemberExpression": "off",
|
||||
"ImportDeclaration": "first"
|
||||
}
|
||||
],
|
||||
"object-curly-newline": [
|
||||
"error",
|
||||
{
|
||||
"minProperties": 5,
|
||||
"consistent": true
|
||||
}
|
||||
],
|
||||
"one-var": [
|
||||
"error",
|
||||
{
|
||||
"initialized": "never",
|
||||
"uninitialized": "always"
|
||||
}
|
||||
],
|
||||
"one-var-declaration-per-line": [
|
||||
"error",
|
||||
"initializations"
|
||||
],
|
||||
"quotes": [
|
||||
"error",
|
||||
"double"
|
||||
],
|
||||
"semi": [
|
||||
"error",
|
||||
"never"
|
||||
],
|
||||
"comma-dangle": [
|
||||
"error",
|
||||
"always-multiline"
|
||||
],
|
||||
"max-len": [
|
||||
"warn",
|
||||
80
|
||||
],
|
||||
"camelcase": [
|
||||
"error",
|
||||
{
|
||||
"properties": "always"
|
||||
}
|
||||
],
|
||||
"space-before-function-paren": [
|
||||
"error",
|
||||
"never"
|
||||
],
|
||||
"func-style": [
|
||||
"warn",
|
||||
"declaration",
|
||||
{
|
||||
"allowArrowFunctions": true
|
||||
}
|
||||
],
|
||||
"id-length": [
|
||||
"warn",
|
||||
{
|
||||
"max": 25,
|
||||
"exceptions": [
|
||||
"i",
|
||||
"x",
|
||||
"y",
|
||||
"$"
|
||||
]
|
||||
}
|
||||
],
|
||||
"import/no-nodejs-modules": "error",
|
||||
"import/order": ["warn", {
|
||||
"groups": ["builtin", "external", "internal", "parent", "sibling",
|
||||
"index"],
|
||||
"newlines-between": "never"
|
||||
}],
|
||||
"arrow-body-style": ["error", "as-needed"],
|
||||
"complexity": ["warn", 11],
|
||||
"new-cap": ["warn", {
|
||||
"newIsCap": true,
|
||||
"capIsNew": true
|
||||
}],
|
||||
"no-empty": ["error", {
|
||||
"allowEmptyCatch": true
|
||||
}],
|
||||
|
||||
"import/order": [
|
||||
"warn",
|
||||
{
|
||||
"groups": [
|
||||
"builtin",
|
||||
"external",
|
||||
"internal",
|
||||
"parent",
|
||||
"sibling",
|
||||
"index"
|
||||
],
|
||||
"newlines-between": "never"
|
||||
}
|
||||
],
|
||||
"arrow-body-style": [
|
||||
"error",
|
||||
"as-needed"
|
||||
],
|
||||
"complexity": [
|
||||
"warn",
|
||||
11
|
||||
],
|
||||
"new-cap": [
|
||||
"warn",
|
||||
{
|
||||
"newIsCap": true,
|
||||
"capIsNew": true
|
||||
}
|
||||
],
|
||||
"no-empty": [
|
||||
"error",
|
||||
{
|
||||
"allowEmptyCatch": true
|
||||
}
|
||||
],
|
||||
"function-paren-newline": "off",
|
||||
"no-labels": "off",
|
||||
"no-control-regex": "off",
|
||||
|
||||
Reference in New Issue
Block a user