You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
482 B
18 lines
482 B
const eslintConfigPrettier = require('eslint-config-prettier');
|
|
const eslintPluginPrettier = require('./eslint-plugin-prettier');
|
|
|
|
// Merge the contents of eslint-config-prettier into every
|
|
module.exports = {
|
|
...eslintConfigPrettier,
|
|
plugins: {
|
|
...eslintConfigPrettier.plugins,
|
|
prettier: eslintPluginPrettier,
|
|
},
|
|
rules: {
|
|
...eslintConfigPrettier.rules,
|
|
'prettier/prettier': 'error',
|
|
'arrow-body-style': 'off',
|
|
'prefer-arrow-callback': 'off',
|
|
},
|
|
};
|