Skip to content
Open
Show file tree
Hide file tree
Changes from 8 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
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
strategy:
matrix:
node-version:
- 18.x
- 20.x
- 22.x

Expand Down
20 changes: 13 additions & 7 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,22 +1,28 @@
import globals from 'globals'
import neostandard from 'neostandard'


export default [
...neostandard(),
{
ignores: [
'node_modules/**'
],
},
{
files: ['src/**/*.js'],
languageOptions: {
globals: {
...globals.browser,
...globals.node
...globals.node,
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
}
},

rules: {
'no-unused-vars': ['warn', {
argsIgnorePattern: '^_',
varsIgnorePattern: '^_'
}]
semi: ['error', 'never'],
quotes: ['error', 'single'],
'no-console': 'warn',
'no-unused-vars': 'warn',
}
}
]
Loading