Skip to content

Commit

Permalink
style: add playground eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Mar 16, 2024
1 parent cf986dd commit 0fba284
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions playground/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// @ts-check
import antfu from '@antfu/eslint-config'

export default antfu({
ignores: [
//
'**/*.ts.timestamp*',
],
rules: {
'symbol-description': 'off',
'node/prefer-global/process': 'off',
'no-control-regex': 'off',
'curly': ['error', 'multi-line'],
'antfu/if-newline': 'off',
'style/brace-style': ['error', '1tbs'],
'antfu/top-level-function': 'off',
'test/prefer-lowercase-title': 'off',
'style/yield-star-spacing': ['error', 'before'],
'no-console': 'off',
},
})

0 comments on commit 0fba284

Please sign in to comment.