Skip to content

Commit

Permalink
feat: update stylistic rules in configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Simoon-F committed Jan 13, 2025
1 parent 59701d9 commit 34fb3b1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/configs/stylistic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ export const stylistic = async (
rules: {
...stylisticConfig.rules,

// '@stylistic/object-curly-spacing': ['error', 'always'], // bracketSpacing: true
// '@stylistic/jsx-closing-bracket-location': ['error', 'line-aligned'], // jsxBracketSameLine: true
// '@stylistic/quotes': ['error', 'single'], // singleQuote: true
// '@stylistic/comma-dangle': ['error', 'always-multiline'], // trailingComma: 'all'
// '@stylistic/arrow-parens': ['error', 'as-needed'], // arrowParens: 'avoid'
'@stylistic/object-curly-spacing': ['error', 'always'],
'@stylistic/jsx-closing-bracket-location': ['error', 'line-aligned'],
'@stylistic/quotes': ['error', 'single'],
'@stylistic/comma-dangle': ['error', 'always-multiline'],
'@stylistic/arrow-parens': ['error', 'as-needed'],

curly: ['error', 'all'],
'curly': ['error', 'all'],

...overrides,
},
Expand Down

0 comments on commit 34fb3b1

Please sign in to comment.