Skip to content

Commit

Permalink
Impose 'vars-on-top'
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKVal committed Sep 3, 2015
1 parent 1bec4f0 commit 732dc03
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"react/jsx-boolean-value": [2, "never"],
"react/jsx-no-duplicate-props": 2,
"react/prop-types": [2, { "ignore": [ "children", "className", "style" ] }],
"react/sort-comp": 0,
"vars-on-top": 0
"react/sort-comp": 0
}
}
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint no-var: 0, babel/object-shorthand: 0 */
/* eslint no-var: 0, babel/object-shorthand: 0, vars-on-top: 0 */
require('babel/register');

var webpackConfig = require('./webpack/test.config.js');
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint no-var: 0 */
/* eslint no-var: 0, vars-on-top: 0 */
require('babel/register');
var config = require('./webpack/webpack.config');
module.exports = config;
2 changes: 1 addition & 1 deletion webpack.docs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint no-var: 0 */
/* eslint no-var: 0, vars-on-top: 0 */
require('babel/register');
var config = require('./webpack/docs.config');
module.exports = config;

0 comments on commit 732dc03

Please sign in to comment.