- Add ESLint configuration with TypeScript support - Add Prettier configuration for code formatting - Add lint and format scripts to package.json - Remove framework-specific configuration - Configure for general JavaScript/TypeScript development
30 lines
577 B
JavaScript
30 lines
577 B
JavaScript
export default {
|
|
overrides: [
|
|
{
|
|
files: '**/*.tsx',
|
|
options: {
|
|
plugins: ['prettier-plugin-tailwindcss'],
|
|
},
|
|
},
|
|
{
|
|
excludeFiles: '**/package.json',
|
|
files: '**/*.json',
|
|
options: {
|
|
jsonRecursiveSort: true,
|
|
plugins: ['prettier-plugin-sort-json'],
|
|
},
|
|
},
|
|
{
|
|
files: '**/package.json',
|
|
options: {
|
|
plugins: ['prettier-plugin-packagejson'],
|
|
trailingComma: 'none',
|
|
},
|
|
},
|
|
],
|
|
proseWrap: 'always',
|
|
quoteProps: 'consistent',
|
|
semi: false,
|
|
singleQuote: true,
|
|
}
|