Initial Commit
This commit is contained in:
11
eslint.config.js
Normal file
11
eslint.config.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import globals from 'globals';
|
||||
import pluginJs from '@eslint/js';
|
||||
import tseslint from 'typescript-eslint';
|
||||
|
||||
/** @type {import('eslint').Linter.Config[]} */
|
||||
export default [
|
||||
{files: ['**/*.{js,mjs,cjs,ts}']},
|
||||
{languageOptions: {globals: {...globals.browser, ...globals.node}}},
|
||||
pluginJs.configs.recommended,
|
||||
...tseslint.configs.recommended
|
||||
];
|
||||
Reference in New Issue
Block a user