mirror of
https://git.stupid.fish/teidesu/scripts.git
synced 2025-07-28 02:32:11 +10:00
chore: update public repo
This commit is contained in:
parent
e0109980c0
commit
e7c9507247
25 changed files with 5364 additions and 0 deletions
22
eslint.config.js
Normal file
22
eslint.config.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
import antfu from '@antfu/eslint-config'
|
||||
|
||||
export default antfu({
|
||||
ignores: ['assets/'],
|
||||
typescript: true,
|
||||
rules: {
|
||||
'curly': ['error', 'multi-line'],
|
||||
'style/brace-style': ['error', '1tbs', { allowSingleLine: true }],
|
||||
'n/prefer-global/buffer': 'off',
|
||||
'no-restricted-globals': ['error', 'Buffer', '__dirname', 'require'],
|
||||
'style/quotes': ['error', 'single', { avoidEscape: true }],
|
||||
'test/consistent-test-it': 'off',
|
||||
'test/prefer-lowercase-title': 'off',
|
||||
'antfu/if-newline': 'off',
|
||||
'style/max-statements-per-line': ['error', { max: 2 }],
|
||||
'ts/no-redeclare': 'off',
|
||||
'no-alert': 'off',
|
||||
'no-console': 'off',
|
||||
'node/prefer-global/process': 'off',
|
||||
'unused-imports/no-unused-vars': 'off',
|
||||
},
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue