Skip to content

Commit

Permalink
Remove the codes relating to jshint
Browse files Browse the repository at this point in the history
  • Loading branch information
koba04 committed Jun 4, 2015
1 parent 4c3e965 commit ce46068
Show file tree
Hide file tree
Showing 15 changed files with 0 additions and 77 deletions.
1 change: 0 additions & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ module.exports = function(grunt) {
'./examples/shared/*.js',
'.module-cache',
],
jshint: require('./grunt/config/jshint'),
/*eslint-disable camelcase */
compare_size: require('./grunt/config/compare_size'),
/*eslint-enable camelcase */
Expand Down
27 changes: 0 additions & 27 deletions grunt/config/jshint.js

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"grunt-contrib-clean": "^0.6.0",
"grunt-contrib-compress": "^0.13.0",
"grunt-contrib-connect": "~0.6.0",
"grunt-contrib-jshint": "^0.10.0",
"grunt-jest": "^0.1.2",
"gzip-js": "~0.3.2",
"jasmine-tapreporter": "~0.2.2",
Expand Down
35 changes: 0 additions & 35 deletions src/.jshintrc

This file was deleted.

1 change: 0 additions & 1 deletion src/addons/link/__tests__/LinkedStateMixin-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

'use strict';

/*jshint evil:true */

describe('LinkedStateMixin', function() {
var LinkedStateMixin;
Expand Down
1 change: 0 additions & 1 deletion src/renderers/dom/client/utils/getEventModifierState.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ var modifierKeyToProp = {
// modifier keys exposed by the event itself, does not support Lock-keys.
// Currently, all major browsers except Chrome seems to support Lock-keys.
function modifierStateGetter(keyArg) {
/*jshint validthis:true */
var syntheticEvent = this;
var nativeEvent = syntheticEvent.nativeEvent;
if (nativeEvent.getModifierState) {
Expand Down
3 changes: 0 additions & 3 deletions src/renderers/dom/client/wrappers/ReactDOMForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ var ReactDOMForm = ReactClass.createClass({
mixins: [ReactBrowserComponentMixin, LocalEventTrapMixin],

render: function() {
// TODO: Instead of using `ReactDOM` directly, we should use JSX. However,
// `jshint` fails to parse JSX so in order for linting to work in the open
// source repo, we need to just use `ReactDOM.form`.
return form(this.props);
},

Expand Down
1 change: 0 additions & 1 deletion src/renderers/dom/client/wrappers/ReactDOMInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ var invariant = require('invariant');
var instancesByReactID = {};

function forceUpdateIfMounted() {
/*jshint validthis:true */
if (this._rootNodeID) {
// DOM component is still mounted; update
ReactDOMInput.updateWrapper(this);
Expand Down
1 change: 0 additions & 1 deletion src/renderers/dom/client/wrappers/ReactDOMSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ var valueContextKey =
'__ReactDOMSelect_value$' + Math.random().toString(36).slice(2);

function updateOptionsIfPendingUpdateAndMounted() {
/*jshint validthis:true */
if (this._pendingUpdate) {
this._pendingUpdate = false;
var value = LinkedValueUtils.getValue(this.props);
Expand Down
1 change: 0 additions & 1 deletion src/renderers/dom/client/wrappers/ReactDOMTextarea.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ var warning = require('warning');
var textarea = ReactElement.createFactory('textarea');

function forceUpdateIfMounted() {
/*jshint validthis:true */
if (this.isMounted()) {
this.forceUpdate();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

'use strict';

/*jshint evil:true */

var mocks = require('mocks');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

'use strict';

/*jshint evil:true */

var emptyFunction = require('emptyFunction');
var mocks = require('mocks');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

'use strict';

/*jshint evil:true */

describe('ReactDOMOption', function() {
var React;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

'use strict';

/*jshint evil:true */

var mocks = require('mocks');

Expand Down
1 change: 0 additions & 1 deletion vendor/browser-transforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
/* jshint browser: true */
/* jslint evil: true */
/*eslint-disable no-eval */
/*eslint-disable block-scoped-var */
Expand Down

0 comments on commit ce46068

Please sign in to comment.