- but mostly from http://jslog.com/2014/10/02/react-with-webpack-part-1
33 lines
445 B
JavaScript
33 lines
445 B
JavaScript
module.exports = {
|
|
'rules': {
|
|
'indent': [
|
|
2,
|
|
2
|
|
],
|
|
'quotes': [
|
|
2,
|
|
'single'
|
|
],
|
|
'linebreak-style': [
|
|
2,
|
|
'unix'
|
|
],
|
|
'semi': [
|
|
2,
|
|
'always'
|
|
]
|
|
},
|
|
'env': {
|
|
'es6': true,
|
|
'browser': true,
|
|
'node': true
|
|
},
|
|
'extends': 'eslint:recommended',
|
|
'ecmaFeatures': {
|
|
'jsx': true,
|
|
'experimentalObjectRestSpread': true
|
|
},
|
|
'plugins': [
|
|
'react'
|
|
]
|
|
};
|