init: typescript esm boilerplate
This commit is contained in:
commit
6b522a0803
16 changed files with 3518 additions and 0 deletions
14
eslint.config.mjs
Normal file
14
eslint.config.mjs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import antfu from '@antfu/eslint-config'
|
||||
|
||||
export default antfu({
|
||||
stylistic: {
|
||||
indent: 2,
|
||||
quotes: 'single',
|
||||
},
|
||||
typescript: true,
|
||||
ignores: ['.omc'],
|
||||
rules: {
|
||||
'no-console': 'off',
|
||||
'antfu/no-top-level-await': 'off',
|
||||
},
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue