mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 15:20:06 +02:00
22 lines
453 B
JavaScript
22 lines
453 B
JavaScript
|
// TODO wait for eslint/eslint#3458
|
||
|
|
||
|
module.exports = {
|
||
|
extends: ['eslint:recommended', 'xo-space/esnext', 'react-app', 'prettier'],
|
||
|
plugins: ['prettier'],
|
||
|
rules: {
|
||
|
'prettier/prettier': [
|
||
|
'error',
|
||
|
{
|
||
|
useTabs: false,
|
||
|
printWidth: 80,
|
||
|
tabWidth: 2,
|
||
|
singleQuote: true,
|
||
|
trailingComma: 'none',
|
||
|
bracketSpacing: true,
|
||
|
jsxBracketSameLine: false,
|
||
|
semi: true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
};
|