Skip to content

Commit 0018073

Browse files
author
Andrey Zakharov
committed
2 parents 0f3a126 + 34a4611 commit 0018073

File tree

1,142 files changed

+918554
-170000
lines changed

Some content is hidden

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

1,142 files changed

+918554
-170000
lines changed

.ackrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

.agignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ build
44

55
test/jasmine/assets/jquery-1.8.3.min.js
66
src/plots/polar/micropolar.js
7-
src/plots/geo/projections.js

.eslintrc

Lines changed: 40 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,69 @@
11
{
22
"root": true,
33
"extends": [
4-
"eslint:recommended",
4+
"eslint:recommended"
55
],
6+
"parserOptions": {
7+
"ecmaVersion": 5,
8+
},
69
"env": {
710
"commonjs": true
811
},
12+
"globals": {
13+
"Promise": true,
14+
"Float32Array": true,
15+
"Float64Array": true,
16+
"Uint8Array": true,
17+
"Int16Array": true,
18+
"Int32Array": true,
19+
"ArrayBuffer": true
20+
},
921
"rules": {
1022
"no-trailing-spaces": [2],
11-
"no-multiple-empty-lines": [2, {"max": 3, "maxEOF": 1}],
12-
"linebreak-style": [2, "unix"],
23+
"no-multiple-empty-lines": [2, {"max": 2, "maxEOF": 0}],
24+
"eol-last": [2],
1325
"indent": [2, 4, {"SwitchCase": 1}],
1426
"max-len": [0, 80],
1527
"brace-style": [0, "stroustrup", {"allowSingleLine": true}],
16-
"curly": [0, "multi"],
28+
"curly": [2, "multi-line"],
1729
"camelcase": [0, {"properties": "never"}],
18-
"comma-spacing": [0, {"before": false, "after": true}],
30+
"comma-spacing": [2, {"before": false, "after": true}],
1931
"comma-style": [2, "last"],
2032
"semi": [2],
2133
"semi-spacing": [2, {"before": false, "after": true}],
22-
"key-spacing": [0, {"beforeColon": false, "afterColon": true}],
34+
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
35+
"keyword-spacing": [2, {"overrides": {
36+
"if": {"after": false},
37+
"for": {"after": false},
38+
"while": {"after": false},
39+
"switch": {"after": false},
40+
"catch": {"after": false}
41+
}}],
2342
"no-spaced-func": [2],
2443
"space-in-parens": [2, "never"],
2544
"space-before-function-paren": [2, "never"],
45+
"space-before-blocks": [2],
46+
"spaced-comment": [2, "always"],
47+
"no-tabs": [2],
2648
"no-multi-spaces": [2],
27-
"space-infix-ops": [0, {"int32Hint": false}],
49+
"no-whitespace-before-property": [2],
50+
"no-unexpected-multiline": [2],
51+
"no-floating-decimal": [2],
52+
"space-infix-ops": [2, {"int32Hint": true}],
2853
"quotes": [2, "single"],
29-
"dot-notation": [2, {"allowKeywords": false}],
54+
"dot-notation": [2],
55+
"dot-location": [2, "property"],
56+
"operator-linebreak": [2, "after"],
3057
"eqeqeq": [2],
31-
"new-cap": [0],
58+
"new-cap": [2, { "capIsNewExceptionPattern": "^MathJax\\.." }],
3259
"no-redeclare": [2, {"builtinGlobals": true}],
3360
"no-shadow": [0, {"builtinGlobals": true}],
3461
"block-scoped-var": [2],
3562
"no-unused-vars": [2],
63+
"no-undef-init": [2],
3664
"no-use-before-define": [2, "nofunc"],
3765
"no-loop-func": [2],
38-
"no-console": [0]
39-
},
66+
"no-console": [0],
67+
"no-unused-labels": [2]
68+
}
4069
}

.github/ISSUE_TEMPLATE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Thanks for your interest in plotly.js!
2+
3+
Before opening an issue, please search for existing and closed issues. If your problem or idea is not addressed yet, [please open a new issue](https://github.com/plotly/plotly.js/issues/new).
4+
5+
Bug reports must be accompanied with a reproducible example. We recommend using [codepen](http://codepen.io/), [jsfiddle](https://jsfiddle.net/) or [jsbin](https://jsbin.com) to share your example.
6+
7+
Note that GitHub issues are reserved for bug reports and feature requests only. Implementation questions should be asked on community.plot.ly (tagged [`plotly-js`](http://community.plot.ly/c/plotly-js)) or on Stack Overflow (tagged [`plotly`](https://stackoverflow.com/questions/tagged/plotly)).
8+
9+
Comments on GitHub issues or pull requests should add content to the discussions. Approbation comments such as *+1* or *I would like this feature to be implemented as well* will be deleted by the maintainers. Please use [GitHub reactions](https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments) instead.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Thanks for your interest in plotly.js!
2+
3+
Developers are strongly encouraged to first make a PR to their own plotly.js fork and ask one of the maintainers to review the modifications there. Once the pull request is deemed satisfactory, the developer will be asked to make a pull request to the main plotly.js repo and may be asked to squash some commits before doing so.
4+
5+
Before opening a pull request, developer should:
6+
7+
- `git rebase` their local branch off the latest `master`
8+
- make sure to **not** `git add` the `dist/` folder (the `dist/` is updated only on verion bumps)
9+
- write an overview of what the PR attempts to do.
10+
11+
Note that it is forbidden to force push (i.e. `git push -f`) to remote branches associated with opened pull requests. Force pushes make it hard for maintainers to keep track of updates. Therefore, if required, please `git merge master` into your PR branch instead of `git rebase master`.

.gitignore

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
node_modules
22

33
build/*
4-
54
!build/plotcss.js
65
!build/ploticon.js
76
!build/README.md
87

98
npm-debug.log*
9+
*.sublime*
10+
11+
.*
12+
!.gitignore
13+
!.npmignore
14+
!.eslintrc
15+
!.eslintignore

.npmignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
build/*
2-
32
!build/plotcss.js
43
!build/ploticon.js
54
!build/README.md
65

76
devtools
87
test
9-
dist/extras/mathjax
8+
dist/extras
109

1110
circle.yml
12-
docker-compose.yml
1311
bower.json
1412

1513
.ackrc

0 commit comments

Comments
 (0)