-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #141 from epam/develop
Release 2.0.0
- Loading branch information
Showing
351 changed files
with
31,347 additions
and
32,987 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,72 @@ | ||
{ | ||
"plugins": ["react"], | ||
"parser": "babel-eslint", | ||
"settings": { | ||
"react": { | ||
"createClass": "createReactClass", | ||
"pragma": "React", | ||
"version": "detect", | ||
"flowVersion": "0.53" | ||
} | ||
}, | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"jest": true | ||
}, | ||
"globals": { | ||
"shallow": true | ||
}, | ||
"rules": { | ||
"react/jsx-uses-react": "error", | ||
"react/jsx-uses-vars": "error", | ||
"react/prefer-es6-class" : [2], | ||
"linebreak-style": "off", | ||
"no-unused-vars": ["error"], | ||
"no-alert": "off", | ||
"no-underscore-dangle": "off", | ||
"vars-on-top": "off", | ||
"space-before-function-paren": ["warn", "never"], | ||
"no-mixed-operators": "off", | ||
"key-spacing": "off", | ||
"spaced-comment": "off", | ||
"func-names": "off", | ||
"function-paren-newline": ["error", "never"], | ||
"padded-blocks": "off", | ||
"quote-props": "off", | ||
"one-var-declaration-per-line": "off", | ||
"max-len": [1, 200, 2, {"ignoreComments": true}], | ||
"object-curly-spacing": ["error", "always"], | ||
"no-param-reassign": "off", | ||
"one-var": "off", | ||
"no-undef": "off", | ||
"no-console": "off", | ||
"comma-dangle": "off", | ||
"no-multi-spaces": "off", | ||
"no-prototype-builtins": "off", | ||
"wrap-iife": ["error", "any"], | ||
"no-use-before-define": ["error", "nofunc"], | ||
"object-property-newline": "off", | ||
"no-restricted-syntax": "off", | ||
"no-else-return": "off", | ||
"no-cond-assign": ["error", "except-parens"], | ||
"space-infix-ops": ["warn", {"int32Hint": true}], | ||
"no-nested-ternary": "off", | ||
"global-require": "off", | ||
"no-continue": "off", | ||
"no-bitwise": "off", | ||
"no-plusplus": "off", | ||
"no-multi-assign": "off", | ||
"lines-between-class-members": ["error", "always"] | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"jest": true, | ||
"es6": true | ||
}, | ||
"root": true, | ||
"parser": "babel-eslint", | ||
"plugins": ["react", "prettier"], | ||
"extends": ["eslint:recommended", "plugin:react/recommended", "prettier"], | ||
"settings": { | ||
"react": { | ||
"createClass": "createReactClass", | ||
"pragma": "React", | ||
"version": "detect", | ||
"flowVersion": "0.53" | ||
} | ||
}, | ||
"globals": { | ||
"shallow": true | ||
}, | ||
"rules": { | ||
"react/jsx-uses-react": "error", | ||
"react/jsx-uses-vars": "error", | ||
"react/prefer-es6-class": [2], | ||
"react/prop-types": "off", | ||
"react/no-string-refs": "off", | ||
"react/jsx-no-undef": "off", | ||
"react/jsx-key": "off", | ||
"no-case-declarations": "off", | ||
"react/no-unescaped-entities": "off", | ||
"linebreak-style": "off", | ||
"no-unused-vars": ["error"], | ||
"no-alert": "off", | ||
"no-underscore-dangle": "off", | ||
"vars-on-top": "off", | ||
"space-before-function-paren": ["warn", "never"], | ||
"no-mixed-operators": "off", | ||
"key-spacing": "off", | ||
"spaced-comment": "off", | ||
"func-names": "off", | ||
"padded-blocks": "off", | ||
"quote-props": "off", | ||
"one-var-declaration-per-line": "off", | ||
"max-len": [1, 200, 2, { "ignoreComments": true }], | ||
"object-curly-spacing": ["error", "always"], | ||
"no-param-reassign": "off", | ||
"one-var": "off", | ||
"no-undef": "off", | ||
"no-console": "off", | ||
"comma-dangle": "off", | ||
"no-multi-spaces": "off", | ||
"no-prototype-builtins": "off", | ||
"wrap-iife": ["error", "any"], | ||
"no-use-before-define": ["error", "nofunc"], | ||
"object-property-newline": "off", | ||
"no-restricted-syntax": "off", | ||
"no-else-return": "off", | ||
"no-cond-assign": ["error", "except-parens"], | ||
"space-infix-ops": ["warn", { "int32Hint": true }], | ||
"no-nested-ternary": "off", | ||
"global-require": "off", | ||
"no-continue": "off", | ||
"no-bitwise": "off", | ||
"no-plusplus": "off", | ||
"no-multi-assign": "off", | ||
"lines-between-class-members": ["error", "always"], | ||
"no-debugger": "warn", | ||
"prettier/prettier": ["error"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,3 +29,5 @@ yarn-error.log* | |
|
||
/.idea | ||
/.vscode | ||
/mriviewer.sln | ||
/.vs |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged | ||
npm run format && npm run lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"printWidth": 140, | ||
"bracketSpacing": true, | ||
"endOfLine": "auto", | ||
"singleQuote": true, | ||
"semi": true, | ||
"tabWidth": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.