22 lines
494 B
JavaScript
22 lines
494 B
JavaScript
/** @type {import('prettier').Config} */
|
|
module.exports = {
|
|
extends: ['@payloadcms'],
|
|
overrides: [
|
|
{
|
|
extends: ['plugin:@typescript-eslint/disable-type-checked'],
|
|
files: ['*.js', '*.cjs', '*.json', '*.md', '*.yml', '*.yaml'],
|
|
},
|
|
{
|
|
files: ['**/*.ts'],
|
|
rules: {
|
|
'@typescript-eslint/no-redundant-type-constituents': 'off',
|
|
},
|
|
},
|
|
],
|
|
parserOptions: {
|
|
project: ['./tsconfig.json'],
|
|
tsconfigRootDir: __dirname,
|
|
},
|
|
root: true,
|
|
}
|