hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/eslint.config.js
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-10-12 14:31:39 +0200
committerhachem <im@hachem.wtf>2025-10-12 14:31:39 +0200
commit068377ec00b57c359ce66070a0844245cb4e9fa5 (patch)
treeba0cc7689dc01928cd1dbb4364401ac544de8b28 /eslint.config.js
parent1207e969cfbeca0c9a6ce4a4a7e8cfcb861c7227 (diff)
[add]: finish bot lol
Diffstat (limited to 'eslint.config.js')
-rw-r--r--eslint.config.js53
1 files changed, 0 insertions, 53 deletions
diff --git a/eslint.config.js b/eslint.config.js
deleted file mode 100644
index adf7d1b..0000000
--- a/eslint.config.js
+++ /dev/null
@@ -1,53 +0,0 @@
-const js = require('@eslint/js');
-
-module.exports = [
- js.configs.recommended,
- {
- languageOptions: {
- ecmaVersion: 'latest',
- },
- rules: {
- 'arrow-spacing': ['warn', { before: true, after: true }],
- 'brace-style': ['error', 'allman', { allowSingleLine: true }],
- 'comma-dangle': ['error', 'always-multiline'],
- 'comma-spacing': 'error',
- 'comma-style': 'error',
- curly: ['error', 'multi-line', 'consistent'],
- 'dot-location': ['error', 'property'],
- 'handle-callback-err': 'off',
- indent: ['error', 'tab'],
- 'keyword-spacing': 'error',
- 'max-nested-callbacks': ['error', { max: 4 }],
- 'max-statements-per-line': ['error', { max: 2 }],
- 'no-console': 'off',
- 'no-empty-function': 'error',
- 'no-floating-decimal': 'error',
- 'no-inline-comments': 'error',
- 'no-lonely-if': 'error',
- 'no-multi-spaces': 'error',
- 'no-multiple-empty-lines': ['error', { max: 2, maxEOF: 1, maxBOF: 0 }],
- 'no-shadow': ['error', { allow: ['err', 'resolve', 'reject'] }],
- 'no-trailing-spaces': ['error'],
- 'no-var': 'error',
- 'no-undef': 'off',
- 'object-curly-spacing': ['error', 'always'],
- 'prefer-const': 'error',
- quotes: ['error', 'single'],
- semi: ['error', 'always'],
- 'space-before-blocks': 'error',
- 'space-before-function-paren': [
- 'error',
- {
- anonymous: 'never',
- named: 'never',
- asyncArrow: 'always',
- },
- ],
- 'space-in-parens': 'error',
- 'space-infix-ops': 'error',
- 'space-unary-ops': 'error',
- 'spaced-comment': 'error',
- yoda: 'error',
- },
- },
-]; \ No newline at end of file