2016-10-21 16:56:05 -04:00
|
|
|
module.exports = {
|
|
|
|
rules: {
|
|
|
|
'arrow-body-style': [2, 'as-needed'],
|
2016-10-22 11:47:23 -04:00
|
|
|
'arrow-parens': [2, 'as-needed'],
|
2016-10-21 16:56:05 -04:00
|
|
|
'arrow-spacing': [2, {
|
|
|
|
before: true,
|
|
|
|
after: true
|
|
|
|
}],
|
|
|
|
'no-confusing-arrow': [2],
|
|
|
|
'no-useless-computed-key': [2],
|
|
|
|
'no-useless-constructor': [2],
|
2017-08-14 08:56:27 -04:00
|
|
|
'no-var': [2],
|
2016-10-21 16:56:05 -04:00
|
|
|
'prefer-arrow-callback': [2],
|
2017-08-14 08:56:27 -04:00
|
|
|
'prefer-const': [2, {destructuring: 'all'}],
|
2016-10-21 16:56:05 -04:00
|
|
|
'prefer-template': [2],
|
|
|
|
'rest-spread-spacing': [2, 'never'],
|
|
|
|
'template-curly-spacing': [2, 'never']
|
|
|
|
},
|
|
|
|
env: {
|
|
|
|
es6: true
|
2016-10-24 14:55:29 -04:00
|
|
|
},
|
|
|
|
parserOptions: {
|
2018-12-11 12:32:46 -05:00
|
|
|
ecmaVersion: 2018
|
2016-10-21 16:56:05 -04:00
|
|
|
}
|
2016-10-22 11:47:23 -04:00
|
|
|
};
|