Skip to content

Commit

Permalink
chore: Update dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
jheer committed Jun 22, 2024
1 parent 2c5d6a8 commit 0aca49b
Show file tree
Hide file tree
Showing 7 changed files with 677 additions and 371 deletions.
27 changes: 0 additions & 27 deletions .eslintrc.js

This file was deleted.

32 changes: 32 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import js from '@eslint/js';
import globals from 'globals';

/** @type {import('@types/eslint').Linter.FlatConfig[]} */
export default [
js.configs.recommended,
{
languageOptions: {
ecmaVersion: 2020,
sourceType: 'module',
globals: {
...globals.browser,
...globals.node,
...globals.es6,
globalThis: false
}
},
rules: {
'comma-dangle': ['error', 'never'],
'no-console': 'error',
'no-cond-assign': 'off',
'no-fallthrough': ['error', { commentPattern: 'break omitted' }],
'semi': 'error',
'quotes': ['error', 'single', { avoidEscape: true }],
'prefer-const': 'error',
'sort-imports': ['error', {
ignoreCase: false,
ignoreDeclarationSort: true
}]
}
}
];
Loading

0 comments on commit 0aca49b

Please sign in to comment.