Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c983f5b

Browse files
committed
eslint: enfoce src/ rules in lib/
1 parent 8358550 commit c983f5b

22 files changed

+45
-0
lines changed

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');

0 commit comments

Comments
 (0)