Browse Source

Update grunt-contrib-jshint and add globals config

pull/905/head
Yoshiya Hinosawa 10 years ago
parent
commit
082b98cd92
  1. 10
      .jshintrc
  2. 2
      package.json
  3. 4
      spec/api.data-spec.js
  4. 4
      spec/api.focus-spec.js
  5. 4
      spec/api.grid-spec.js
  6. 4
      spec/api.load-spec.js
  7. 4
      spec/api.zoom-spec.js
  8. 4
      spec/arc-spec.js
  9. 4
      spec/axis-spec.js
  10. 3
      spec/c3-spec.js
  11. 4
      spec/class-spec.js
  12. 4
      spec/core-spec.js
  13. 4
      spec/data-spec.js
  14. 4
      spec/domain-spec.js
  15. 4
      spec/grid-spec.js
  16. 4
      spec/interaction-spec.js
  17. 4
      spec/legend-spec.js
  18. 4
      spec/shape.bar-spec.js
  19. 4
      spec/shape.line-spec.js
  20. 8
      spec/tooltip-spec.js
  21. 4
      spec/type-spec.js
  22. 4
      spec/zoom-spec.js

10
.jshintrc

@ -16,5 +16,13 @@
"loopfunc": true, "loopfunc": true,
"bitwise": false, "bitwise": false,
"browser": true "browser": true,
"globals": {
"describe": false,
"beforeEach": false,
"it": false,
"expect": false
}
} }

2
package.json

@ -27,7 +27,7 @@
"grunt-contrib-concat": "~0.5.0", "grunt-contrib-concat": "~0.5.0",
"grunt-contrib-cssmin": "^0.10.0", "grunt-contrib-cssmin": "^0.10.0",
"grunt-contrib-jasmine": "~0.8.0", "grunt-contrib-jasmine": "~0.8.0",
"grunt-contrib-jshint": "~0.7.1", "grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-uglify": "~0.4.0", "grunt-contrib-uglify": "~0.4.0",
"grunt-contrib-watch": "^0.6.1", "grunt-contrib-watch": "^0.6.1",
"load-grunt-tasks": "~0.2.0" "load-grunt-tasks": "~0.2.0"

4
spec/api.data-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
describe('c3 api data', function () { describe('c3 api data', function () {
'use strict'; 'use strict';

4
spec/api.focus-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
describe('c3 api load', function () { describe('c3 api load', function () {
'use strict'; 'use strict';

4
spec/api.grid-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
describe('c3 api grid', function () { describe('c3 api grid', function () {
'use strict'; 'use strict';

4
spec/api.load-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
describe('c3 api load', function () { describe('c3 api load', function () {
'use strict'; 'use strict';

4
spec/api.zoom-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
describe('c3 api zoom', function () { describe('c3 api zoom', function () {
'use strict'; 'use strict';

4
spec/arc-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
describe('c3 chart axis', function () { describe('c3 chart axis', function () {
'use strict'; 'use strict';

4
spec/axis-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
describe('c3 chart axis', function () { describe('c3 chart axis', function () {
'use strict'; 'use strict';

3
spec/c3-spec.js

@ -1,6 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it;
describe('c3', function () { describe('c3', function () {
'use strict'; 'use strict';

4
spec/class-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
describe('c3 chart class', function () { describe('c3 chart class', function () {
'use strict'; 'use strict';

4
spec/core-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
describe('c3 chart', function () { describe('c3 chart', function () {
'use strict'; 'use strict';

4
spec/data-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
describe('c3 chart data', function () { describe('c3 chart data', function () {
'use strict'; 'use strict';

4
spec/domain-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
describe('c3 chart axis', function () { describe('c3 chart axis', function () {
'use strict'; 'use strict';

4
spec/grid-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
describe('c3 chart grid', function () { describe('c3 chart grid', function () {
'use strict'; 'use strict';

4
spec/interaction-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
describe('c3 chart interaction', function () { describe('c3 chart interaction', function () {
'use strict'; 'use strict';

4
spec/legend-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
describe('c3 chart legend', function () { describe('c3 chart legend', function () {
'use strict'; 'use strict';

4
spec/shape.bar-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
var setMouseEvent = window.setMouseEvent; var setMouseEvent = window.setMouseEvent;

4
spec/shape.line-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
describe('c3 chart shape line', function () { describe('c3 chart shape line', function () {
'use strict'; 'use strict';

8
spec/tooltip-spec.js

@ -1,9 +1,5 @@
var describe = window.describe, var jasmine = window.jasmine,
expect = window.expect, beforeAll = window.beforeAll;
it = window.it,
jasmine = window.jasmine,
beforeAll = window.beforeAll,
beforeEach = window.beforeEach;
describe('c3 chart tooltip', function () { describe('c3 chart tooltip', function () {
'use strict'; 'use strict';

4
spec/type-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
describe('c3 chart types', function () { describe('c3 chart types', function () {
'use strict'; 'use strict';

4
spec/zoom-spec.js

@ -1,7 +1,3 @@
var describe = window.describe,
expect = window.expect,
it = window.it,
beforeEach = window.beforeEach;
describe('c3 chart zoom', function () { describe('c3 chart zoom', function () {
'use strict'; 'use strict';

Loading…
Cancel
Save