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
30 changes: 30 additions & 0 deletions wasmasm/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
// ESLint flat config (ESLint 9+). Replaces the former `eslintConfig` block in
// package.json, which ESLint 10 no longer reads.
const js = require('@eslint/js')
const pluginVue = require('eslint-plugin-vue')
const globals = require('globals')

module.exports = [
{
ignores: [
'dist/',
// Emscripten-generated binding
'src/assets/wasmasm.js',
'playwright-report/',
'test-results/',
],
},
js.configs.recommended,
...pluginVue.configs['flat/essential'],
{
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
globals: { ...globals.browser, ...globals.node },
},
},
{
files: ['tests/unit/**/*.js'],
languageOptions: { globals: globals.jest },
},
]
Loading
Loading