Skip to content

Commit f52ed2c

Browse files
authored
Merge pull request #218 from smartdevicelink/release/1.0.0
Release/1.0.0
2 parents 180f071 + 77e9316 commit f52ed2c

File tree

558 files changed

+301123
-6
lines changed

Some content is hidden

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

558 files changed

+301123
-6
lines changed

.babelrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"presets": [
3+
["@babel/env", {"modules": false}]
4+
]
5+
}

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
**/*.json
2+
**/node_modules/*
3+
**/dist/*

.eslintrc

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
{
2+
"root": true,
3+
"env": {
4+
"browser": true,
5+
"node": true,
6+
"es6": true,
7+
"mocha": true
8+
},
9+
"extends": "eslint:recommended",
10+
"globals": {
11+
"Atomics": "readonly",
12+
"SharedArrayBuffer": "readonly"
13+
},
14+
"parserOptions": {
15+
"ecmaVersion": 2017,
16+
"sourceType": "module"
17+
},
18+
"plugins": [
19+
"jsdoc"
20+
],
21+
"rules": {
22+
"array-bracket-spacing": [ "error" ],
23+
"brace-style": [ "error" ],
24+
"camelcase": [ "error", {
25+
"allow": [
26+
"SamplingRate_8KHZ",
27+
"SamplingRate_16KHZ",
28+
"SamplingRate_22KHZ",
29+
"SamplingRate_44KHZ",
30+
"BitsPerSample_8_BIT",
31+
"BitsPerSample_16_BIT",
32+
]
33+
}],
34+
"comma-dangle": [
35+
"error",
36+
{
37+
"arrays": "always-multiline",
38+
"objects": "always-multiline"
39+
}
40+
],
41+
"comma-spacing": [ "error" ],
42+
"comma-style": [ "error" ],
43+
"curly": [ "error" ],
44+
"dot-notation": [ "error" ],
45+
"eqeqeq": [ "error" ],
46+
"id-length": [ "error", { "exceptions": ["x", "y", "c"] } ],
47+
"indent": [
48+
"error",
49+
4,
50+
{
51+
"SwitchCase": 1
52+
}
53+
],
54+
"keyword-spacing": [ "error" ],
55+
"linebreak-style": [
56+
"error",
57+
"unix"
58+
],
59+
"new-cap": [ "error", {
60+
"newIsCapExceptions": ["tClass"]
61+
}],
62+
"no-case-declarations": [ "error" ],
63+
"no-const-assign": [ "error" ],
64+
"no-mixed-operators": [ "error" ],
65+
"no-multi-str": [ "error" ],
66+
"no-nested-ternary": [ "error" ],
67+
"no-new-object": [ "error" ],
68+
"no-throw-literal": [ "error" ],
69+
"no-trailing-spaces": [ "error" ],
70+
"no-unneeded-ternary": [ "error" ],
71+
"no-unused-vars": [ "warn", {
72+
"args": "none"
73+
}],
74+
"no-var": [ "error" ],
75+
"no-whitespace-before-property": [ "error" ],
76+
"nonblock-statement-body-position": [
77+
"error",
78+
"below"
79+
],
80+
"object-curly-spacing": [
81+
"error",
82+
"always"
83+
],
84+
"object-shorthand": [ "error" ],
85+
"padded-blocks": [
86+
"error",
87+
"never"
88+
],
89+
"prefer-const": [
90+
"error",
91+
{
92+
"destructuring": "any",
93+
"ignoreReadBeforeAssign": false
94+
}
95+
],
96+
"prefer-template": [ "error" ],
97+
"quotes": [
98+
"error",
99+
"single"
100+
],
101+
"semi": [ "error" ],
102+
"space-before-blocks": [ "error" ],
103+
"space-before-function-paren": [ "error" ],
104+
"space-in-parens": [ "error" ],
105+
"space-infix-ops": [ "error" ],
106+
"spaced-comment": [ "error" ],
107+
"template-curly-spacing": [ "error" ],
108+
"jsdoc/check-access": 1,
109+
"jsdoc/check-alignment": 1,
110+
"jsdoc/check-indentation": 1,
111+
"jsdoc/check-param-names": 1,
112+
"jsdoc/check-property-names": 1,
113+
"jsdoc/check-tag-names": 1,
114+
"jsdoc/check-values": 1,
115+
"jsdoc/empty-tags": 1,
116+
"jsdoc/implements-on-classes": 1,
117+
"jsdoc/require-description": 1,
118+
"jsdoc/require-hyphen-before-param-description": 1,
119+
"jsdoc/require-jsdoc": 1,
120+
"jsdoc/require-param": 1,
121+
"jsdoc/require-param-name": 1,
122+
"jsdoc/require-param-type": 1,
123+
"jsdoc/require-param-description": 1,
124+
"jsdoc/require-returns": 1,
125+
"jsdoc/require-returns-check": 1,
126+
"jsdoc/require-returns-description": 1,
127+
"jsdoc/require-returns-type": 1,
128+
"jsdoc/valid-types": 1
129+
}
130+
}

.github/CONTRIBUTING.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Contributing to SDL Projects
2+
3+
Third party contributions are essential for making SDL great. However, we do have a few guidelines we need contributors to follow.
4+
5+
### Issues
6+
7+
If writing a bug report, please make sure <a href="http://yourbugreportneedsmore.info" target="_blank">it has enough info</a>. Include all relevant information.
8+
9+
If requesting a feature, understand that we appreciate the input! However, it may not immediately fit our roadmap, and it may take a while for us to get to your request.
10+
11+
### Gitflow
12+
13+
We use <a href="http://nvie.com/posts/a-successful-git-branching-model/">Gitflow</a> as our branch management system. Please follow gitflow's guidelines while contributing to any SDL project.
14+
15+
### Pull Requests
16+
17+
* Please follow the repository's for all code and documentation.
18+
* All feature branches should be based on `develop` and have the format `feature/branch_name`.
19+
* Minor bug fixes, that is bug fixes that do not change, add, or remove any public API, should be based on `master` and have the format `hotfix/branch_name`.
20+
* All pull requests should implement a single feature or fix a single bug. Pull Requests that involve multiple changes (it is our discretion what precisely this means) will be rejected with a reason.
21+
* All commits should separated into logical units, i.e. unrelated changes should be in different commits within a pull request.
22+
* Work in progress pull requests should have "[WIP]" in front of the Pull Request title. When you believe the pull request is ready to merge, remove this tag and @mention the appropriate SDL team to schedule a review.
23+
* All new code *must* include unit tests. Bug fixes should have a test that fails previously and now passes. All new features should be covered. If your code does not have tests, or regresses old tests, it will be rejected.
24+
* A great example of a <a href="https://github.com/smartdevicelink/SmartDeviceLink-iOS/pull/45" "_target>pull request can be found here</a>.
25+
26+
### Contributor's License Agreement (CLA)
27+
28+
In order to accept Pull Requests from contributors, you must first sign [the Contributor's License Agreement](https://docs.google.com/forms/d/1VNR8EUd5b46cQ7uNbCq1fJmnu0askNpUp5dudLKRGpU/viewform). If you need to make a change to information that you entered, [please contact us](mailto:[email protected]).
29+
30+
### Repository Specific Guidelines
31+
32+
* Please follow all the guidelines defined in the [Architecture & Contribution Guidelines](../GUIDELINES.md)
33+
34+

.github/ISSUE_TEMPLATE.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[Delete any non-applicable sections, but we may ask for more information. Please reference the [SmartDeviceLink GitHub Best Practices](https://d83tozu1c8tt6.cloudfront.net/media/resources/SDL_GitHub_BestPractices.pdf) for further instructions on how to enter an issue.]
2+
3+
### Bug Report
4+
[Summary]
5+
6+
##### Reproduction Steps
7+
1. [Step 1]
8+
2. [Step 2]
9+
3. [Step 3]
10+
11+
##### Expected Behavior
12+
[Some expected behavior]
13+
14+
##### Observed Behavior
15+
[Some observed behavior]
16+
17+
##### Browser & Version Information
18+
* Browser and Version:[What browser is being used including its version are you using when the bug occurred]
19+
* SDL JavaScript Suite Module: [What module (node, javascript, etc) were you using that is experiencing the bug?
20+
* SDL JavaScript Version: [What version of the library has this bug been seen on]
21+
* Testing Against: [What you tested with to observe this behavior]
22+
23+
##### Test Case, Sample Code, and / or Example App
24+
[Paste a link to a PR, gist, or other code that exemplifies this behavior]

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
[Things to note: Pull Requests **must** fix an issue. Discussion about the feature / bug takes place in the issue, discussion of the implementation takes place in the PR. Please also see the [Contributing Guide](./CONTRIBUTING.md) for information on branch naming and the CLA, and the [SmartDeviceLink GitHub Best Practices](https://d83tozu1c8tt6.cloudfront.net/media/resources/SDL_GitHub_BestPractices.pdf) document for more information on how to enter a pull request. Once this PR is ready for review, please request one from @nickschwab.
2+
3+
Delete the above section when you've read it.]
4+
5+
Fixes #[issue number]
6+
7+
This PR is **[ready / not ready]** for review.
8+
9+
### Risk
10+
This PR makes **[no / minor / major]** API changes.
11+
12+
### Testing Plan
13+
[Describe how you plan to unit test the changes in this PR]
14+
15+
### Summary
16+
[Summary of PR changes]
17+
18+
### Changelog
19+
##### Breaking Changes
20+
* [Breaking change info]
21+
22+
##### Enhancements
23+
* [Enhancement info]
24+
25+
##### Bug Fixes
26+
* [Bug Fix Info]
27+
28+
### Tasks Remaining:
29+
- [ ] [Task 1]
30+
- [ ] [Task 2]
31+
32+
### CLA
33+
- [ ] I have signed [the CLA](https://docs.google.com/forms/d/e/1FAIpQLSdsgJY33VByaX482zHzi-xUm49JNnmuJOyAM6uegPQ2LXYVfA/viewform) and this pull request adheres to the [Contributing Guide](./CONTRIBUTING.md).

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
**/node_modules/
2+
*.log
3+
.*env*
4+
.idea
5+
*__pycache__
6+
.DS_Store
7+
*htmlcov
8+
*.coverage
9+
*.pytest_cache
10+
hello-sdl*.zip
11+
app-directory.json

.gitmodules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "lib/rpc_spec"]
2+
path = lib/rpc_spec
3+
url = https://github.com/smartdevicelink/rpc_spec.git
4+
branch = master

0 commit comments

Comments
 (0)