mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-05 17:51:27 +03:00
chore(style): update eslint
This commit is contained in:
18
eslint.config.mjs
Normal file
18
eslint.config.mjs
Normal file
@@ -0,0 +1,18 @@
|
||||
import globals from 'globals';
|
||||
import pluginJs from '@eslint/js';
|
||||
import eartharoid from '@eartharoid/eslint-rules-js';
|
||||
|
||||
/** @type {import('eslint').Linter.Config[]} */
|
||||
export default [
|
||||
{ files: ['**/*.{js,mjs,cjs,ts}'] },
|
||||
{ languageOptions: { globals: globals.node } },
|
||||
pluginJs.configs.recommended,
|
||||
eartharoid,
|
||||
{
|
||||
rules: {
|
||||
'no-console': [
|
||||
'warn',
|
||||
],
|
||||
},
|
||||
},
|
||||
];
|
Reference in New Issue
Block a user