Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
robindemourat committed Sep 19, 2018
0 parents commit 0ccdb2f
Show file tree
Hide file tree
Showing 384 changed files with 38,332 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"plugins": [
"transform-decorators-legacy",
"transform-decorators",
"transform-object-rest-spread",
"transform-class-properties",
"transform-export-extensions"
],
"presets": [
["env", {
"targets": {
"node": "current",
"uglify" : true
}
}],
"react"
]
}
218 changes: 218 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,218 @@
{
"parser": "babel-eslint",
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jest": true,
"node": true
},
"globals": {
"__PUBLIC_URL__": false,
"__DICTO_VERSION__": false,
"__SOURCE_REPOSITORY__": false,
},
"plugins": [
"mocha",
"react"
],
"settings": {
"react": {
"version": "16.0.2"
}
},
"rules": {
"mocha/no-exclusive-tests": 2,
"no-case-declarations": 0,
"no-useless-escape": 0,
"arrow-parens": [
2,
"always"
],
"arrow-spacing": [
2,
{
"before": true,
"after": true
}
],
"constructor-super": 0,
"generator-star-spacing": 0,
"no-class-assign": 0,
"no-confusing-arrow": 2,
"no-const-assign": 2,
"no-this-before-super": 0,
"no-var": 2,
"object-shorthand": [
2,
"always"
],
"prefer-arrow-callback": 0,
"prefer-const": 2,
"prefer-spread": 0,
"prefer-reflect": 0,
"require-yield": 0,
"react/jsx-uses-react": 2,
"react/no-multi-comp": 0,
"react/prop-types": 0,
"react/display-name": 0,
"react/jsx-wrap-multilines": 2,
"react/self-closing-comp": 2,
"react/jsx-no-comment-textnodes": 2,
"react/no-danger": 2,
"react/no-is-mounted": 2,
"react/no-deprecated": 2,
"react/no-did-mount-set-state": 2,
"react/no-did-update-set-state": 2,
"react/no-render-return-value": 2,
"react/react-in-jsx-scope": 2,
"react/jsx-uses-vars": 2,
"react/jsx-handler-names": 0,
"react/jsx-pascal-case": 2,
"react/jsx-no-undef": 2,
"react/no-unknown-property": 2,
"react/jsx-curly-spacing": [
2,
"always",
{
"allowMultiline": false,
"spacing": {
"objectLiterals": "always"
}
}
],
"react/jsx-equals-spacing": [
2,
"never"
],
"react/jsx-sort-props": 0,
"react/sort-prop-types": 2,
"react/jsx-boolean-value": 2,
"react/sort-comp": 2,
"react/jsx-no-duplicate-props": 2,
"react/jsx-max-props-per-line": [
2,
{
"maximum": 1,
"when": "always"
}
],
"react/jsx-no-literals": 0,
"react/jsx-indent-props": [2, 2],
"react/jsx-indent": [2, 2],
"react/jsx-closing-bracket-location": [
2,
"tag-aligned"
],
"react/jsx-tag-spacing": 2,
"react/no-direct-mutation-state": 2,
"react/forbid-prop-types": 0,
"react/prefer-es6-class": 2,
"react/jsx-key": 2,
"react/no-string-refs": 2,
"react/no-set-state": 0,
"react/jsx-no-bind": 0,
"react/prefer-stateless-function": 2,
"react/require-render-return": 2,
"react/jsx-first-prop-new-line": 2,
"react/jsx-no-target-blank": 2,
"react/jsx-filename-extension": [
2,
{
"extensions": [
".js",
".jsx"
]
}
],
"react/require-optimization": 2,
"react/no-find-dom-node": 2,
"object-curly-spacing": [
2,
"always"
],
"brace-style": [
2,
"stroustrup",
{
"allowSingleLine": false
}
],
"block-spacing": [
2,
"always"
],
"array-bracket-spacing": [
2,
"always"
],
"rest-spread-spacing": [
2,
"never"
],
"array-bracket-newline": [
2,
"consistent"
],
"space-in-parens": [
2,
"always"
],
"no-multiple-empty-lines": [2, {"max": 1}],
"key-spacing": [
2,
{
"beforeColon": false
}
],
"no-mixed-spaces-and-tabs": 2,
"multiline-comment-style": [
2,
"starred-block"
],
"lines-around-comment": [
2,
{
"beforeBlockComment": true
}
],
"computed-property-spacing": [
2,
"never"
],
"keyword-spacing": [
"error",
{
"before": true,
"after": true
}
],
"linebreak-style": [
"error",
"unix"
],
"switch-colon-spacing": [
2,
{
"after": true,
"before": false
}
],
"prefer-template": 2,
"require-jsdoc": 2,
"react/boolean-prop-naming": 2,
"react/no-typos": 2,
"react/no-unescaped-entities": 2,
"react/no-will-update-set-state": 2,
"react/void-dom-elements-no-children": 2,
"react/jsx-child-element-spacing": 2,
"react/jsx-closing-tag-location": 2,
"react/jsx-curly-brace-presence": [
2,
{
"props": "always",
"children": "never"
}
]
}
}
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
name: Bug report
about: Create a report to help us improve Dicto

---

- [ ] I have checked for existing similar issues before submitting this one
- [ ] I am using the latest version/release of Dicto

# 🐛 Describe the bug

A clear and concise description of what the bug is.

# ⟲ To Reproduce

Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'

# 👁 Observed behavior

A clear and concise description of what happens when reproducing the steps above.

# ✓ Expected behavior

A clear and concise description of what you expected to happen.

# 🍿 Screenshots

If applicable, add screenshots to help explain your problem.

# ⚙ Configuration (please complete the following information)

- [ ] web version
- [ ] desktop version

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari] (for web version only)
- Version [e.g. 22] (for web version only)

# 🔎 Additional context

Add any other context about the problem here.
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Feature request
about: Suggest an idea for Dicto further developments

---

# ⚠ Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

# 🔊 Describe the solution you'd like

A clear and concise description of what you want to happen.

# ⟿ Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

# 🔎 Additional context

Add any other context or screenshots about the feature request here.
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
*-lock.json

# Dependency directories
node_modules

# Optional npm cache directory
.npm

# mac files
.DS_Store

# config
config.dev.json
config.prod.json

# bundles and builds
app/build
app/bundles
dist
Loading

0 comments on commit 0ccdb2f

Please sign in to comment.