Skip to content

Commit

Permalink
0.4.0, ! tidy project, = rewrite with airbnb eslint and few custom ru…
Browse files Browse the repository at this point in the history
…les, - less concept and magic and apis
  • Loading branch information
sartrey committed May 11, 2019
1 parent 85861a6 commit 3f5b9f4
Show file tree
Hide file tree
Showing 38 changed files with 996 additions and 799 deletions.
99 changes: 5 additions & 94 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,100 +1,11 @@
{
"env": {
"browser": false,
"node": true,
"es6": true
},
"extends": "airbnb-base/legacy",
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "module"
"ecmaVersion": 9
},
"rules": {
"no-control-regex": 2,
"no-debugger": 2,
"no-dupe-args": 2,
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty-character-class": 2,
"no-ex-assign": 2,
"no-extra-boolean-cast": 2,
"no-extra-parens": 2,
"no-extra-semi": 2,
"no-func-assign": 2,
"no-inner-declarations": 2,
"no-invalid-regexp": 2,
"no-irregular-whitespace": 2,
"no-obj-calls": 2,
"no-prototype-builtins": 2,
"no-regex-spaces": 2,
"no-sparse-arrays": 2,
"no-unexpected-multiline": 2,
"no-unreachable": 2,
"no-unsafe-negation": 2,
"use-isnan": 2,
"valid-typeof": 2,

"consistent-return": 0,
"curly": [2, "multi-line"],
"default-case": 2,
"dot-location": [2, "property"],
"dot-notation": 2,
"eqeqeq": [2, "smart"],
"guard-for-in": 2,
"no-case-declarations": 2,
"no-else-return": 2,
"no-empty-pattern": 2,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-bind": 2,
"no-extra-label": 2,
"no-fallthrough": 2,
"no-floating-decimal": 2,
"no-global-assign": 2,
"no-lone-blocks": 2,
"no-loop-func": 2,
"no-multi-spaces": 2,
"no-multi-str": 2,
"no-new-wrappers": 2,
"no-octal": 2,
"no-octal-escape": 2,
"no-proto": 2,
"no-redeclare": 2,
"no-return-assign": 2,
"no-self-assign": 2,
"no-self-compare": 2,
"no-sequences": 2,
"no-throw-literal": 2,
"no-unused-expressions": 2,
"no-unused-labels": 2,
"no-useless-return": 2,
"no-void": 2,
"no-with": 2,
"wrap-iife": 2,
"yoda": 2,

"no-delete-var": 2,
"no-label-var": 2,
"no-shadow": 2,
"no-shadow-restricted-names": 2,
"no-undef": 2,

"no-mixed-requires": 2,
"no-new-require": 2,

"block-spacing": [2, "always"],
"brace-style": [2, "1tbs"],
"comma-spacing": 2,
"comma-style": 2,
"indent": [2, 2],
"key-spacing": 2,
"max-nested-callbacks": [2, 5],
"no-mixed-spaces-and-tabs": 2,
"no-nested-ternary": 2,
"no-trailing-spaces": 2,
"quote-props": [2, "as-needed"],
"semi": [2, "never"],
"space-before-blocks": 2,
"space-infix-ops": 2,
"keyword-spacing": 2
"no-var": "error",
"prefer-const": "error",
"comma-dangle": "off"
}
}
15 changes: 15 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"sqltools.connections": [
{
"askForPassword": false,
"connectionTimeout": 30,
"database": "hello",
"dialect": "MySQL",
"name": "sartrey-web",
"password": "Phrady@Vostoc$1780",
"port": 3306,
"server": "47.104.68.190",
"username": "admin"
}
]
}
4 changes: 1 addition & 3 deletions example/avatar/server/controller/start.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
'use strict'

module.exports = [
{
path: '/',
verb: 'get',
body: async function () {
return this.epii.view()
return this.epii.view();
}
}
]
43 changes: 0 additions & 43 deletions index.js

This file was deleted.

16 changes: 0 additions & 16 deletions kernel/config.js

This file was deleted.

77 changes: 0 additions & 77 deletions kernel/loader.js

This file was deleted.

29 changes: 0 additions & 29 deletions kernel/logger.js

This file was deleted.

34 changes: 0 additions & 34 deletions kernel/recipe.js

This file was deleted.

0 comments on commit 3f5b9f4

Please sign in to comment.