Skip to content

Commit fa07513

Browse files
authored
Merge pull request #948 from plotly/misc-maintenance
Fixing a few maintenance issues
2 parents e5ff05b + c983f5b commit fa07513

27 files changed

+59
-23
lines changed

.eslintrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@
99
"env": {
1010
"commonjs": true
1111
},
12+
"globals": {
13+
"Promise": true,
14+
"Float32Array": true,
15+
"Float64Array": true,
16+
"Uint8Array": true,
17+
"Int16Array": true,
18+
"Int32Array": true,
19+
"ArrayBuffer": true
20+
},
1221
"rules": {
1322
"no-trailing-spaces": [2],
1423
"no-multiple-empty-lines": [2, {"max": 2, "maxEOF": 0}],

.gitignore

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
node_modules
2-
*.sublime*
32

43
build/*
5-
64
!build/plotcss.js
75
!build/ploticon.js
86
!build/README.md
97

108
npm-debug.log*
9+
*.sublime*
1110

1211
.*
13-
!/.gitignore
14-
!/.npmignore
15-
!/.eslintrc
16-
!/.eslintignore
12+
!.gitignore
13+
!.npmignore
14+
!.eslintrc
15+
!.eslintignore

devtools/.eslintrc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,5 @@
33
"env": {
44
"node": true,
55
"browser": true
6-
},
7-
"globals": {
8-
"Promise": true
96
}
107
}

lib/.eslintrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "../src/.eslintrc"
3+
}

lib/bar.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/bar');

lib/box.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/box');

lib/choropleth.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/choropleth');

lib/contour.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/contour');

lib/contourgl.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/contourgl');

lib/core.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/core');

lib/heatmap.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/heatmap');

lib/heatmapgl.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/heatmapgl');

lib/histogram.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/histogram');

lib/histogram2d.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/histogram2d');

lib/histogram2dcontour.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/histogram2dcontour');

lib/mesh3d.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/mesh3d');

lib/pie.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/pie');

lib/pointcloud.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/pointcloud');

lib/scatter.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/scatter');

lib/scatter3d.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/scatter3d');

lib/scattergeo.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/scattergeo');

lib/scattergl.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/scattergl');

lib/scattermapbox.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/scattermapbox');

lib/scatterternary.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/scatterternary');

lib/surface.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
* LICENSE file in the root directory of this source tree.
77
*/
88

9+
'use strict';
10+
911
module.exports = require('../src/traces/surface');

src/.eslintrc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@
33
"env": {
44
"browser": true
55
},
6-
"globals": {
7-
"Promise": true,
8-
"Float32Array": true,
9-
"Uint8Array": true,
10-
"Int32Array": true,
11-
"ArrayBuffer": true
12-
},
136
"rules": {
147
"strict": [2, "global"],
158
"no-console": [2]

test/jasmine/.eslintrc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,5 @@
33
"env": {
44
"browser": true,
55
"jasmine": true
6-
},
7-
"globals": {
8-
"Promise": true,
9-
"Float32Array": true,
10-
"Float64Array": true,
11-
"Int16Array": true,
12-
"Int32Array": true
136
}
147
}

0 commit comments

Comments
 (0)