mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-02-23 18:51:29 +02:00
19 lines
380 B
JavaScript
19 lines
380 B
JavaScript
|
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',
|
||
|
],
|
||
|
},
|
||
|
},
|
||
|
];
|