exlint
Version:
self-contained eslint profile
24 lines (21 loc) • 524 B
JavaScript
module.exports = {
extends: ['standard', 'plugin:react/recommended'],
parser: 'babel-eslint',
parserOptions: {
ecmaFeatures: {
jsx: true
}
},
plugins: ['babel', 'react', 'import-order'],
rules: {
'import-order/import-order': ['error'],
'comma-dangle': ['error', 'always-multiline'],
'object-curly-spacing': ['error', 'always'],
'prefer-const': ['error'],
/* babel */
'arrow-parens': 0,
'babel/arrow-parens': 2,
/* react */
'react/react-in-jsx-scope': 0,
}
}