Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update package.json. Configure jest test suite. Update lint rules * SCR: USNA - Add test suite for utils. Add deep object compare implementation * Improve compare. Clone mock graph data for sandbox * Clean generated config when clicking reset config button * Remove json stringify comparision usage * Organize test files * Add Link tests. Organize tests structure * Improve src/utils. Add documentation for src/utils * Test isEqual behavior against circular structures * Improve utils tests. Add coverage to gitignore * Add Node tests * Add empty object fix on isEqual method * Group private methods on top of files. Pseudo private function naming in helper graph * Fix lint errors. Some refactor accross code base. Add some new lint configs * Init tests for Graph component * Remove unnecessary webpack plugins * Remove usage of Object.values. Update graph snapshot * Major progress in Graph unit tests * Fix link highlight logic in graph helper 🐛
- Loading branch information
1 parent
6deebb5
commit b5695f4
Showing
23 changed files
with
2,866 additions
and
350 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"presets": ["react", "es2015", "stage-0"] | ||
} |
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,25 +1,34 @@ | ||
module.exports = { | ||
"parser": "babel-eslint", | ||
"extends": [ | ||
"eslint:recommended" | ||
], | ||
"plugins": [ | ||
"standard", | ||
"promise", | ||
"react" | ||
], | ||
"globals": { | ||
"document": true, | ||
"Reflect": true, | ||
"window": true | ||
}, | ||
"parser": "babel-eslint", | ||
"parserOptions": { | ||
"ecmaVersion": 6, | ||
"ecmaFeatures": { | ||
"jsx": true | ||
} | ||
}, | ||
"plugins": [ | ||
"standard", | ||
"promise", | ||
"react" | ||
], | ||
"rules": { | ||
"react/jsx-uses-react": "error", | ||
"react/jsx-uses-vars": "error" | ||
}, | ||
"globals": { | ||
"document": true, | ||
"Reflect": true, | ||
"window": true | ||
"react/jsx-uses-vars": "error", | ||
"camelcase": "error", | ||
"keyword-spacing": "error", | ||
"max-len": ["error", 120, 4, { "ignoreComments": true }], | ||
"max-lines": ["error", {"max": 250, "skipComments": true}], | ||
"newline-after-var": ["error", "always"], | ||
"no-nested-ternary": "error", | ||
"no-useless-constructor": "error", | ||
"semi": "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 |
---|---|---|
|
@@ -67,5 +67,6 @@ typings/ | |
dist/ | ||
DOCUMENTATION.md | ||
docs | ||
coverage | ||
sandbox/rd3g.sandbox.bundle.js | ||
sandbox/rd3g.sandbox.bundle.js.map |
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
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.