Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
npm run build
npm run test

- name: Lint
run: npm run lint

- name: Typecheck bootstrap
run: npm run typecheck
working-directory: ./packages/bootstrap
Expand All @@ -53,4 +56,5 @@ jobs:
npm link @mavonengine/core
npm run typecheck
npm run build
npm run lint
working-directory: ./packages/multiplayer-template
23 changes: 23 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// eslint.config.mjs
import antfu from '@antfu/eslint-config'

export default antfu(
{
rules: {
'no-console': 'error',
'@typescript-eslint/method-signature-style': ['error', 'method'],
},
},
{
files: ['**/*.{ts,tsx}'],
},
{
/**
* Allow console logs in bootstrap package
*/
files: ['packages/bootstrap/**'],
rules: {
'no-console': 'off',
},
},
)
Loading
Loading