joyent-portal/packages/eslint-config/index.js
2017-05-26 19:26:54 +01:00

23 lines
484 B
JavaScript

// TODO wait for eslint/eslint#3458
module.exports = {
extends: ['eslint:recommended', 'xo-space/esnext', 'react-app', 'prettier'],
plugins: ['prettier'],
rules: {
'capitalized-comments': 0,
'prettier/prettier': [
'error',
{
useTabs: false,
printWidth: 80,
tabWidth: 2,
singleQuote: true,
trailingComma: 'none',
bracketSpacing: true,
jsxBracketSameLine: false,
semi: true
}
]
}
};