Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fewieden committed Oct 17, 2018
1 parent ce799c2 commit 17418c9
Show file tree
Hide file tree
Showing 17 changed files with 306 additions and 33 deletions.
13 changes: 6 additions & 7 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ engines:
enabled: true
config:
languages:
- javascript
- javascript
eslint:
enabled: true
channel: "eslint-3"
Expand All @@ -18,9 +18,8 @@ engines:
enabled: true
ratings:
paths:
- "**.css"
- "**.js"
- "**.md"
exclude_paths: [
"node_modules/**/*"
]
- "**.css"
- "**.js"
- "**.md"
exclude_paths:
- "node_modules/**/*"
9 changes: 9 additions & 0 deletions .doclets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
dir: .
packageJson: package.json
articles:
- Overview: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
branches:
- master
- develop
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4

[{*.json, *.yml}]
indent_style = space
indent_size = 2
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs/*
5 changes: 3 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"comma-dangle": 0,
"indent": [2, 4],
"max-len": [2, 120, { "ignoreStrings": true }],
"radix": [2, "as-needed"]
"radix": [2, "as-needed"],
"no-console": 0
},
"settings": {
"import/core-modules": [ "node_helper" ]
Expand All @@ -14,4 +15,4 @@
"node": true,
"es6": true
}
}
}
8 changes: 8 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Contribution Guidelines

Thanks for contributing to this module!

Please create pull requests to the branch `develop`.

To hold one code style and standard there are several linters and tools in this project set. Make sure you fullfill the requirements.
Also there will be automatically analysis performed once you created the pull request.
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Platform (Hardware/OS):

Node version:

MagicMirror version:

Module version:

Description of the issue:
5 changes: 5 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Please create pull requests to the branch `develop`.

* Does the pull request solve an issue (add a reference)?
* What are the features of this pr?
* Add screenshots for visual changes.
2 changes: 1 addition & 1 deletion .mdlrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
all
rules "~MD013", "~MD033"
rules "~MD013", "~MD024", "~MD026", "~MD033"
2 changes: 1 addition & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"rules": {
"indentation": 4
}
}
}
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ node_js:
- "9"
- "10"
script:
- npm run lint
- npm run lint
cache:
directories:
- node_modules
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# MMM-soccer Changelog

## [2.0.0]

### Added

* Club logo downloader
* New config option `logos`.
* Documentation
* [Doclets.io](https://doclets.io/fewieden/MMM-soccer/master) integration
* Contributing guidelines
* Issue template
* Pull request template
* Editor config

### Changed

* Switched from Api v1 to v2.
* Updated league ids.
* Switched rendering from js to nunjuck template.
* Updated travis-ci config.
* Disabled markdown lint rules `MD024` and `MD026`


## [1.0.0]

Initial version
Loading

0 comments on commit 17418c9

Please sign in to comment.