mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
39 lines
747 B
JavaScript
39 lines
747 B
JavaScript
|
var path = require('path');
|
||
|
|
||
|
module.exports = {
|
||
|
extends: "airbnb",
|
||
|
parser: "babel-eslint",
|
||
|
plugins: [
|
||
|
"react"
|
||
|
],
|
||
|
env: {
|
||
|
"node": true,
|
||
|
"mocha": true
|
||
|
},
|
||
|
globals: {
|
||
|
"expect": false,
|
||
|
"describe": false
|
||
|
},
|
||
|
rules: {
|
||
|
"consistent-return": 1,
|
||
|
"arrow-body-style": 0,
|
||
|
"max-len": 0,
|
||
|
"no-use-before-define": [2, "nofunc"],
|
||
|
"no-unused-expressions": 0,
|
||
|
"no-console": 0,
|
||
|
"space-before-function-paren": 0,
|
||
|
"react/prefer-stateless-function": 0,
|
||
|
"react/no-multi-comp": 0,
|
||
|
"no-param-reassign": 0,
|
||
|
"new-cap": 0,
|
||
|
'import/no-unresolved': 'error'
|
||
|
},
|
||
|
settings: {
|
||
|
'import/resolver': {
|
||
|
webpack: {
|
||
|
config: path.join(__dirname, 'webpack.config.js')
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|