1 | const eslintConfigPrettier = require('eslint-config-prettier');
|
2 | const eslintPluginPrettier = require('./eslint-plugin-prettier');
|
3 |
|
4 | // Merge the contents of eslint-config-prettier into every
|
5 | module.exports = {
|
6 | ...eslintConfigPrettier,
|
7 | plugins: {
|
8 | ...eslintConfigPrettier.plugins,
|
9 | prettier: eslintPluginPrettier,
|
10 | },
|
11 | rules: {
|
12 | ...eslintConfigPrettier.rules,
|
13 | 'prettier/prettier': 'error',
|
14 | 'arrow-body-style': 'off',
|
15 | 'prefer-arrow-callback': 'off',
|
16 | },
|
17 | };
|