Skip to content

Commit 2423436

Browse files
committed
Initial commit
0 parents  commit 2423436

File tree

144 files changed

+54032
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+54032
-0
lines changed

.eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
build

.eslintrc.js

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/* eslint-env node, browser: false */
2+
const eslintConfig = require('datavized-code-style');
3+
module.exports = Object.assign(eslintConfig, {
4+
plugins: eslintConfig.plugins.concat([
5+
'react',
6+
'jsx-a11y'
7+
]),
8+
env: {
9+
browser: true,
10+
es6: true,
11+
commonjs: true
12+
},
13+
extends: eslintConfig.extends.concat([
14+
'plugin:react/recommended'
15+
]),
16+
rules: Object.assign(eslintConfig.rules, {
17+
'react/jsx-uses-react': 'error',
18+
'react/jsx-uses-vars': 'error',
19+
'no-invalid-this': 0,
20+
'react/forbid-foreign-prop-types': 'error'
21+
}),
22+
settings: {
23+
react: {
24+
version: require('react').version
25+
}
26+
}
27+
});

.github/ISSUE_TEMPLATE/bug_report.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
5+
---
6+
7+
**Describe the bug**
8+
A clear and concise description of what the bug is.
9+
10+
**Build version**
11+
Look for build number from developer console. e.g. Morph by Datavized Technologies (build 15d9336)
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
5+
---
6+
7+
**Is your feature request related to a problem? Please describe.**
8+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9+
10+
**Describe the solution you'd like**
11+
A clear and concise description of what you want to happen.
12+
13+
**Describe alternatives you've considered**
14+
A clear and concise description of any alternative solutions or features you've considered.
15+
16+
**Additional context**
17+
Add any other context or screenshots about the feature request here.

.gitignore

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# dependencies
4+
node_modules
5+
6+
# testing
7+
/coverage
8+
9+
# production
10+
/build
11+
12+
# configuration
13+
.env
14+
.env.local
15+
.env.development.local
16+
.env.test.local
17+
.env.production.local
18+
19+
# misc
20+
.DS_Store
21+
/report.html
22+
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*

CODE_OF_CONDUCT.md

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as
6+
contributors and maintainers pledge to making participation in our project and
7+
our community a harassment-free experience for everyone, regardless of age, body
8+
size, disability, ethnicity, gender identity and expression, level of experience,
9+
education, socio-economic status, nationality, personal appearance, race,
10+
religion, or sexual identity and orientation.
11+
12+
## Our Standards
13+
14+
Examples of behavior that contributes to creating a positive environment
15+
include:
16+
17+
* Using welcoming and inclusive language
18+
* Being respectful of differing viewpoints and experiences
19+
* Gracefully accepting constructive criticism
20+
* Focusing on what is best for the community
21+
* Showing empathy towards other community members
22+
23+
Examples of unacceptable behavior by participants include:
24+
25+
* The use of sexualized language or imagery and unwelcome sexual attention or
26+
advances
27+
* Trolling, insulting/derogatory comments, and personal or political attacks
28+
* Public or private harassment
29+
* Publishing others' private information, such as a physical or electronic
30+
address, without explicit permission
31+
* Other conduct which could reasonably be considered inappropriate in a
32+
professional setting
33+
34+
## Our Responsibilities
35+
36+
Project maintainers are responsible for clarifying the standards of acceptable
37+
behavior and are expected to take appropriate and fair corrective action in
38+
response to any instances of unacceptable behavior.
39+
40+
Project maintainers have the right and responsibility to remove, edit, or
41+
reject comments, commits, code, wiki edits, issues, and other contributions
42+
that are not aligned to this Code of Conduct, or to ban temporarily or
43+
permanently any contributor for other behaviors that they deem inappropriate,
44+
threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces
49+
when an individual is representing the project or its community. Examples of
50+
representing a project or community include using an official project e-mail
51+
address, posting via an official social media account, or acting as an appointed
52+
representative at an online or offline event. Representation of a project may be
53+
further defined and clarified by project maintainers.
54+
55+
## Enforcement
56+
57+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
58+
reported by contacting the project team at support@datavized.com. All
59+
complaints will be reviewed and investigated and will result in a response that
60+
is deemed necessary and appropriate to the circumstances. The project team is
61+
obligated to maintain confidentiality with regard to the reporter of an incident.
62+
Further details of specific enforcement policies may be posted separately.
63+
64+
Project maintainers who do not follow or enforce the Code of Conduct in good
65+
faith may face temporary or permanent repercussions as determined by other
66+
members of the project's leadership.
67+
68+
## Attribution
69+
70+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71+
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72+
73+
[homepage]: https://www.contributor-covenant.org
74+

CONTRIBUTING.md

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Contributing to Morph
2+
3+
Thank you for taking the time to contribute to Morph!
4+
5+
Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue, assessing changes, and helping you finalize your pull requests.
6+
7+
## Table Of Contents
8+
9+
[Code of Conduct](#code-of-conduct)
10+
11+
[I don't want to read this whole thing, I just have a question!!!](#i-dont-want-to-read-this-whole-thing-i-just-have-a-question)
12+
13+
[What should I know before I get started?](#what-should-i-know-before-i-get-started)
14+
15+
[How Can I Contribute?](#how-can-i-contribute)
16+
- [Reporting Bugs](#reporting-bugs)
17+
- [Suggesting Enhancements](#suggesting-enhancements)
18+
- [Your First Code Contribution](#your-first-code-contribution)
19+
- [Pull Requests](#pull-requests)
20+
21+
[Styleguides](#styleguides)
22+
- [Git Commit Messages](#git-commit-messages)
23+
- [JavaScript Styleguide](#javascript-styleguide)
24+
25+
[Additional Notes](#additional-notes)
26+
- [Issue and Pull Request Labels](#issue-and-pull-request-labels)
27+
28+
## Code of Conduct
29+
30+
This project and everyone participating in it is governed by a [Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [contact@datavized.com](mailto:contact@datavized.com).
31+
32+
## Styleguides
33+
34+
### Git Commit Messages
35+
36+
- Use the present tense ("Add feature" not "Added feature")
37+
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
38+
- Limit the first line to 72 characters or less
39+
- Reference issues and pull requests liberally after the first line
40+
- Consider starting the commit message with an applicable emoji:
41+
- :art: `:art:` when improving the format/structure of the code
42+
- :racehorse: `:racehorse:` when improving performance
43+
- :non-potable_water: `:non-potable_water:` when plugging memory leaks
44+
- :memo: `:memo:` when writing docs
45+
- :bug: `:bug:` when fixing a bug
46+
- :fire: `:fire:` when removing code or files
47+
- :white_check_mark: `:white_check_mark:` when adding tests
48+
- :lock: `:lock:` when dealing with security
49+
- :arrow_up: `:arrow_up:` when upgrading dependencies
50+
- :arrow_down: `:arrow_down:` when downgrading dependencies
51+
- :shirt: `:shirt:` when removing linter warnings

0 commit comments

Comments
 (0)