Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Dima Shvedsky committed Jul 15, 2018
0 parents commit fb9625a
Show file tree
Hide file tree
Showing 92 changed files with 36,087 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"presets": [
"@babel/preset-react",
[
"@babel/preset-env",
{
"useBuiltIns": "entry",
"shippedProposals": true,
"spec": true,
"debug": false
}
]
],
"plugins": [
"@babel/plugin-proposal-class-properties",
["@babel/plugin-proposal-decorators", { "legacy": true }],
"@babel/plugin-proposal-function-bind",
"@babel/plugin-proposal-object-rest-spread",
"react-hot-loader/babel"
]
}
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
last 1 chrome version
5 changes: 5 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
root = true
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/public
/scripts
/config
317 changes: 317 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,317 @@
parser:
babel-eslint

settings:
ecmascript: 6
flowtype:
onlyFilesWithFlowAnnotation: false

parserOptions:
sourceType: "module"

plugins:
- react

globals:
__: false
__DEV__: false

env:
browser: true
node: true
jest: true
es6: true

rules:
no-cond-assign: 1
no-console: 0
no-constant-condition: 1
no-control-regex: 1
no-debugger: 1
no-dupe-args: 1
no-dupe-keys: 1
no-duplicate-case: 1
no-empty-character-class: 1
no-empty: 1
no-ex-assign: 1
no-extra-boolean-cast: 1
no-extra-parens: [1, "all", { ignoreJSX: "all" }]
no-extra-semi: 1
no-func-assign: 1
no-inner-declarations: 1
no-invalid-regexp: 1
no-irregular-whitespace: 1
no-obj-calls: 1
no-prototype-builtins: 0
no-regex-spaces: 1
no-sparse-arrays: 1
no-template-curly-in-string: 1
no-unexpected-multiline: 1
no-unreachable: 1
no-unsafe-finally: 1
no-unsafe-negation: 1
use-isnan: 1
valid-jsdoc: 1
valid-typeof: 1
accessor-pairs: 1
array-callback-return: 1
block-scoped-var: 1
complexity: 1
consistent-return: 0
curly: 1
default-case: 1
dot-notation: 1
eqeqeq: 1
guard-for-in: 1
no-alert: 1
no-caller: 1
no-case-declarations: 1
no-div-regex: 1
no-else-return: 1
no-empty-function: 0
no-empty-pattern: 1
no-eq-null: 1
no-eval: 1
no-extend-native: 1
no-extra-bind: 1
no-extra-label: 1
no-fallthrough: 1
no-floating-decimal: 1
no-global-assign: 1
no-implicit-coercion: 1
no-implicit-globals: 1
no-implied-eval: 1
no-invalid-this: 0
no-iterator: 1
no-labels: 1
no-lone-blocks: 0
no-loop-func: 1
no-magic-numbers: 0
no-multi-spaces: [1, "exceptions": { "VariableDeclarator": true, "Property": true }]
key-spacing: [1, { "beforeColon": false, "afterColon": true, "align": "value" }]
no-multi-str: 1
no-new-func: 1
no-new-wrappers: 1
no-new: 1
no-octal-escape: 1
no-octal: 1
no-param-reassign: 1
no-proto: 1
no-redeclare: 1
no-restricted-properties: 1
no-return-assign: 0
no-return-await: 1
no-script-url: 1
no-self-assign: 1
no-self-compare: 1
no-sequences: 1
no-throw-literal: 1
no-unmodified-loop-condition: 1
no-unused-expressions: [0, { "allowTernary": true }]
no-unused-labels: 1
no-useless-call: 1
no-useless-concat: 1
no-useless-escape: 1
no-useless-return: 1
no-void: 0
no-warning-comments: 0
no-with: 1
radix: 1
require-await: 1
wrap-iife: 1
yoda: 1
strict: 1
init-declarations: 1
no-catch-shadow: 1
no-delete-var: 1
no-label-var: 1
no-restricted-globals: 1
no-shadow-restricted-names: 1
no-shadow: 1
no-undef-init: 1
no-undef: 1
no-undefined: 0
no-unused-vars: 1
no-use-before-define: 1
array-bracket-spacing: 1
block-spacing: 1
brace-style: 1
camelcase: 1
capitalized-comments: 0
comma-dangle: [1, {
"objects": "always-multiline"
}]
comma-spacing: 1
comma-style: 1
computed-property-spacing: 1
consistent-this: 1
eol-last: [1, "always"]
func-call-spacing: 1
func-name-matching: 1
func-names: [1, "never"]
func-style: ["error", "declaration", { "allowArrowFunctions": true }]
id-blacklist: 1
indent: [1, 4, {"SwitchCase": 1}]
jsx-quotes: [1, "prefer-single"]
keyword-spacing: 1
linebreak-style: 0
lines-around-comment: 1
max-depth: 1
max-len: [0, 100, { "ignoreComments": true, "ignoreTemplateLiterals": true, "ignoreStrings": true }]
max-nested-callbacks: 1
max-params: [1, 4]
max-statements-per-line: 1
new-cap: [1, {"capIsNewExceptions": ["List", "Map"]}]
new-parens: 1
newline-after-var: 1
newline-before-return: 1
newline-per-chained-call: 0
no-array-constructor: 1
no-bitwise: 1
no-continue: 1
no-inline-comments: 0
no-lonely-if: 1
no-mixed-operators: 0
no-mixed-spaces-and-tabs: 1
no-multiple-empty-lines: [1, { "max": 1, "maxEOF": 0 }]
nj-negated-condition: 0
no-nested-ternary: 0
no-new-object: 1
no-plusplus: [1, { "allowForLoopAfterthoughts": true }]
no-restricted-syntax: 1
no-tabs: 1
no-trailing-spaces: 1
no-unneeded-ternary: 1
no-whitespace-before-property: 1
object-curly-spacing: [1, "always", { "arraysInObjects": false, "objectsInObjects": false }]
object-property-newline: [1, { "allowMultiplePropertiesPerLine": true }]
one-var: [1, "never"]
operator-assignment: 1
semi-spacing: 1
semi: 1
space-before-blocks: 1
space-before-function-paren: 1
space-in-parens: 1
space-unary-ops: 1
spaced-comment: [0, "always"]
wrap-regex: 1
arrow-parens: [1, "always"]
arrow-spacing: 1
constructor-super: 1
generator-star-spacing: ["error", {"before": false, "after": true}]
no-class-assign: 1
no-confusing-arrow: 0
no-const-assign: 1
no-dupe-class-members: 1
no-duplicate-imports: 0
no-new-symbol: 1
no-this-before-super: 1
no-useless-constructor: 1
no-useless-rename: 1
no-var: 1
object-shorthand: 1
prefer-arrow-callback: 1
prefer-const: 1
prefer-rest-params: 1
prefer-spread: 1
prefer-template: 1
require-yield: 1
rest-spread-spacing: 1
symbol-description: 1
template-curly-spacing: 1
yield-star-spacing: [1, "both"]
react/forbid-component-props: [1, { "forbid": ["style"] }]
react/forbid-prop-types: 0
react/no-array-index-key: 0
react/no-children-prop: 1
react/no-danger: 1
react/no-danger-with-children: 1
react/no-deprecated: 1
react/no-did-mount-set-state: 1
react/no-did-update-set-state: 1
react/no-direct-mutation-state: 1
react/no-find-dom-node: 1
react/no-is-mounted: 1
react/no-multi-comp: 1
react/no-render-return-value: 1
react/no-set-state: 0
react/no-string-refs: 1
react/no-unescaped-entities: 1
react/no-unknown-property: 1
react/no-unused-prop-types: 0
react/prefer-es6-class: [1, always]
react/prefer-stateless-function: 0
react/prop-types: 0
react/react-in-jsx-scope: 1
react/require-default-props: 0
react/require-optimization: 0
react/require-render-return: 1
react/self-closing-comp: 1
react/sort-comp: [1, { order: [
'static-methods',
'lifecycle',
'everything-else',
'render'
],
groups: {
lifecycle: [
'displayName',
'statics',
'propTypes',
'props',
'defaultProps',
'constructor',
'state',
'getDefaultProps',
'getInitialState',
'contextTypes',
'childContextTypes',
'mixins',
'getChildContext',
'componentWillMount',
'componentDidMount',
'componentWillReceiveProps',
'shouldComponentUpdate',
'componentWillUpdate',
'componentDidUpdate',
'componentWillUnmount'
]
}
}]
react/sort-prop-types: [1, {
"callbacksLast": true,
"ignoreCase": true,
"requiredFirst": true,
}]
react/style-prop-object: 1
react/jsx-boolean-value: 1
react/jsx-closing-bracket-location: [1, {"selfClosing": "line-aligned", nonEmpty: "after-props"}]
react/jsx-curly-spacing: [1, "always"]
react/jsx-equals-spacing: [1, "always"]
react/jsx-filename-extension: [1, { "extensions": [".js"] }]
react/jsx-first-prop-new-line: [1, "multiline"]
react/jsx-handler-names: 0
react/jsx-indent: 1
react/jsx-indent-props: 1
react/jsx-key: 1
react/jsx-max-props-per-line: [0, { "maximum": 3 }]
react/jsx-no-bind: 0
react/jsx-no-comment-textnodes: 1
react/jsx-no-duplicate-props: 1
react/jsx-no-literals: 0
react/jsx-no-target-blank: 1
react/jsx-no-undef: 1
react/jsx-pascal-case: 1
react/jsx-sort-props: [1, {
"callbacksLast": true,
"shorthandFirst": true,
"ignoreCase": true
}]
react/jsx-tag-spacing: [1, {
"closingSlash": "never",
"beforeSelfClosing": "always",
"afterOpening": "never"
}]
react/jsx-uses-react: 1
react/jsx-uses-vars: 1
react/jsx-wrap-multilines: [1, {declaration: false, assignment: false}]
Loading

0 comments on commit fb9625a

Please sign in to comment.