Joel McKinnon
4d560086dd
ESLint upgrade, implement additional rules ( #3230 )
...
* upgrade to ESLintv7, added overrides for rules violated
* removed overrides for spec files
* fixed no-prototype-builtins issues
* added rules for default-case-last, default-param-last, grouped-accessor-pairs, no-constructor-return, and added override for one violation
Co-authored-by: Andrew Henry <akhenry@gmail.com>
Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
2020-08-10 11:23:35 -07:00
Andrew Henry
a09da30768
New eslint rules auto fix ( #3058 )
...
* no-implicit-coercion and no-unneeded-ternary
* End every line with a semicolon
* Spacing and formatting
* Enabled semi-spacing
* Applies npm run lint:fix to code after master merge
* Fix merge issues
* Switched operator-linebreak to 'before'
Co-authored-by: Joshi <simplyrender@gmail.com>
2020-07-31 12:11:03 -07:00
Nick Weingartner
c55eaeb193
[Copyright] Update copyright year across platform code references
...
Fixes #2034 .
2018-05-14 15:46:17 -07:00
Victor Woeltjen
185567cf29
[Licenses] Update copyright year to 2017
...
Fixes #1517
2017-04-05 14:52:46 -07:00
Victor Woeltjen
766e94ed62
Merge remote-tracking branch 'origin/master' into persist-on-mutation-825b
...
Conflicts:
platform/core/src/capabilities/PersistenceCapability.js
2016-07-25 16:30:49 -07:00
Victor Woeltjen
eb6ddb5e45
[Persistence] Use ids from TransactionManager API
...
Recommended during code review,
https://github.com/nasa/openmct/pull/1084#discussion_r71021889
2016-07-15 12:26:35 -07:00
Victor Woeltjen
1f7cece8ec
[Persistence] Remove unused variable
2016-07-14 15:05:43 -07:00
Victor Woeltjen
a731c35ad6
[Persistence] Refactor out transaction management
2016-07-14 13:43:55 -07:00
Victor Woeltjen
c7529dd56b
[Persistence] Share transaction clearing functions
2016-07-14 12:53:58 -07:00
Victor Woeltjen
00fff52529
[Persistence] Track persist-pending state globally
2016-07-14 12:50:36 -07:00
Victor Woeltjen
4c7ad6d93a
Merge branch 'undirty-on-refresh-1046' into transaction-clearing-1059
...
Conflicts:
platform/commonUI/edit/src/actions/SaveAsAction.js
2016-07-14 11:53:39 -07:00
Henry
c8898ac6aa
[Documentation] Updated copyright statement. Fixes #1081
2016-07-12 16:55:57 -07:00
Victor Woeltjen
e42b8d22f7
[Edit] Undirty objects on refresh
...
Remove domain objects from the active transaction when they
are refreshed, and use this from the SaveAsAction to prevent
saving unintended changes. Fixes #1046
2016-06-22 15:32:37 -07:00
Andrew Henry
f167022eea
Changed logic of persisted check slightly
2016-06-02 10:26:38 +01:00
Andrew Henry
b1266abf01
[Edit] Fixed issue with cancel action throwing an error. Fixes #979
2016-06-01 10:41:01 +01:00
Victor Woeltjen
264896c264
Merge branch 'master' into persist-on-mutation-825
...
Conflicts:
platform/commonUI/edit/src/actions/RemoveAction.js
platform/commonUI/edit/test/actions/EditAndComposeActionSpec.js
platform/commonUI/edit/test/actions/RemoveActionSpec.js
platform/entanglement/src/services/LinkService.js
platform/features/timeline/src/controllers/drag/TimelineDragHandler.js
platform/features/timeline/src/controllers/swimlane/TimelineSwimlaneDecorator.js
platform/features/timeline/test/controllers/drag/TimelineDragHandlerSpec.js
platform/features/timeline/test/controllers/swimlane/TimelineSwimlaneDropHandlerSpec.js
2016-05-20 14:26:39 -07:00
Victor Woeltjen
bcf85db9c4
[Persistence] Delegate new 'persisted' method
2016-05-19 13:31:27 -07:00
Victor Woeltjen
fa77139077
[Code Style] Run gulp fixstyle
...
...to apply code style settings from #142 .
2016-05-19 11:29:13 -07:00
Henry
d08cdfba49
Fixed linting issues
2016-05-12 16:50:19 -07:00
Henry
69c4c3a2c8
Added tests
2016-05-12 16:14:42 -07:00
Henry
44f4a82fa1
Resolved merge conflicts
2016-05-12 16:14:31 -07:00
Henry
cf9eb3f602
Resolved Merge conflicts, removed previously deleted files
2016-05-12 16:05:27 -07:00
Henry
bd686790dc
Resolved merge conflicts
2016-05-12 16:03:19 -07:00
Henry
e5ef7c0c22
Resovled merge conflicts
2016-05-12 15:58:17 -07:00