Skip to content

Commit

Permalink
chore(Repo): Add comments to ESLint config
Browse files Browse the repository at this point in the history
  • Loading branch information
MFarabi619 committed Jul 7, 2024
1 parent 388d374 commit d4a102b
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,23 @@ const compat = new FlatCompat()

export default antfu(
{
ignores: [],
// Enable stylistic formatting rules
// stylistic: true,

// Or customize the stylistic rules
// stylistic: {
// indent: 2, // 4, or 'tab'
// quotes: 'single', // or 'double'
// },

react: true,
// astro: true, // Need `eslint-plugin-astro` and `prettier-plugin-astro`

// Disable jsonc and yaml support
// jsonc: false,
// yaml: false,

ignores: [],
formatters: {
/**
* Format CSS, LESS, SCSS files, also the `<style>` blocks in Vue
Expand All @@ -28,7 +43,7 @@ export default antfu(
* Supports Prettier and dprint
* By default uses Prettier
*/
// markdown: 'prettier'
markdown: 'prettier',
},
},

Expand Down

0 comments on commit d4a102b

Please sign in to comment.