eslint 14 and fixes
This commit is contained in:
parent
4d52b03be1
commit
7ae3e11262
|
@ -128,7 +128,8 @@
|
|||
"no-multi-spaces": 1,
|
||||
"key-spacing": [1, { "beforeColon": false, "afterColon": true }],
|
||||
"comma-spacing": 1,
|
||||
"space-unary-ops": [1, { "words": true, "nonwords": false }]
|
||||
"space-unary-ops": [1, { "words": true, "nonwords": false }],
|
||||
"indent": [2, 4]
|
||||
},
|
||||
"env": {
|
||||
"browser": false,
|
||||
|
|
|
@ -67,6 +67,15 @@ module.exports = function (grunt) {
|
|||
options: {
|
||||
spawn: false
|
||||
}
|
||||
},
|
||||
test: {
|
||||
files: [
|
||||
'src/**/*.*', 'test/**/*.*'
|
||||
],
|
||||
tasks: ['test'],
|
||||
options: {
|
||||
spawn: false
|
||||
}
|
||||
}
|
||||
},
|
||||
uglify: {
|
||||
|
|
12
package.json
12
package.json
|
@ -23,26 +23,26 @@
|
|||
"dependencies": {
|
||||
"chalk": "^0.5.1",
|
||||
"cheerio": "^0.18.0",
|
||||
"escodegen": "^1.6.0",
|
||||
"esprima": "^1.2.3",
|
||||
"lodash": "^2.4.1",
|
||||
"escodegen": "^1.6.1",
|
||||
"esprima": "^2.0.0",
|
||||
"lodash": "^3.1.0",
|
||||
"optionator": "^0.5.0",
|
||||
"text-table": "^0.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"brace": "^0.4.0",
|
||||
"brfs": "^1.2.0",
|
||||
"brfs": "^1.3.0",
|
||||
"coveralls": "^2.11.2",
|
||||
"grunt": "^0.4.5",
|
||||
"grunt-browserify": "^3.3.0",
|
||||
"grunt-contrib-requirejs": "^0.4.4",
|
||||
"grunt-contrib-uglify": "^0.7.0",
|
||||
"grunt-contrib-watch": "^0.6.1",
|
||||
"grunt-eslint": "^5.1.0",
|
||||
"grunt-eslint": "^6.0.0",
|
||||
"grunt-node-tap": "^0.1.61",
|
||||
"istanbul": "^0.3.5",
|
||||
"react": "^0.12.2",
|
||||
"tape": "^3.4.0"
|
||||
"tape": "^3.5.0"
|
||||
},
|
||||
"keywords": [
|
||||
"templates",
|
||||
|
|
|
@ -13,7 +13,6 @@ var editor = React.createClass({
|
|||
};
|
||||
},
|
||||
componentWillMount: function () {
|
||||
|
||||
},
|
||||
render: function () {
|
||||
var props = _.omit(this.props, ['ref', 'key', 'value', 'valueLink', 'onChange']);
|
||||
|
|
Loading…
Reference in New Issue