Skip to content

Commit 732dc03

Browse files
committed
Impose 'vars-on-top'
1 parent 1bec4f0 commit 732dc03

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

.eslintrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"react/jsx-boolean-value": [2, "never"],
3030
"react/jsx-no-duplicate-props": 2,
3131
"react/prop-types": [2, { "ignore": [ "children", "className", "style" ] }],
32-
"react/sort-comp": 0,
33-
"vars-on-top": 0
32+
"react/sort-comp": 0
3433
}
3534
}

karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint no-var: 0, babel/object-shorthand: 0 */
1+
/* eslint no-var: 0, babel/object-shorthand: 0, vars-on-top: 0 */
22
require('babel/register');
33

44
var webpackConfig = require('./webpack/test.config.js');

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint no-var: 0 */
1+
/* eslint no-var: 0, vars-on-top: 0 */
22
require('babel/register');
33
var config = require('./webpack/webpack.config');
44
module.exports = config;

webpack.docs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint no-var: 0 */
1+
/* eslint no-var: 0, vars-on-top: 0 */
22
require('babel/register');
33
var config = require('./webpack/docs.config');
44
module.exports = config;

0 commit comments

Comments
 (0)