forked from nixcn/nixcn-cms
- Installed @antfu/eslint-config for formatting - Installed lint-staged for pre-commit formatting compliance Signed-off-by: Noa Virellia <noa@requiem.garden>
16 lines
294 B
JavaScript
16 lines
294 B
JavaScript
import antfu from '@antfu/eslint-config';
|
|
|
|
export default antfu({
|
|
gitignore: true,
|
|
ignores: ['**/node_modules/**', '**/dist/**', 'bun.lock'],
|
|
react: true,
|
|
stylistic: {
|
|
semi: true,
|
|
quotes: 'single',
|
|
indent: 2,
|
|
},
|
|
typescript: {
|
|
tsconfigPath: 'tsconfig.json',
|
|
},
|
|
});
|