aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-07-30 16:08:15 +0600
committerGitHub <noreply@github.com>2024-07-30 16:08:15 +0600
commite4e393aa663268fad7b1634e48524c0d800bdac9 (patch)
tree212d1f37bbfb45bc86d19ead98f73571e541cfa7 /.eslintrc.json
parent7fc185c25b87e5059a15640cc2b23d829bf1871f (diff)
parent9395e3c03727a0a5902dccb49f49788bff9027d9 (diff)
downloadrspamd-vstakhov-fuzzy-tcp.tar.gz
rspamd-vstakhov-fuzzy-tcp.zip
Merge branch 'master' into vstakhov-fuzzy-tcpvstakhov-fuzzy-tcp
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json77
1 files changed, 0 insertions, 77 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
deleted file mode 100644
index a6f4e1129..000000000
--- a/.eslintrc.json
+++ /dev/null
@@ -1,77 +0,0 @@
-{
- "env": {
- "browser": true,
- "es6": true
- },
- "extends": [
- "eslint:all",
- "plugin:@stylistic/all-extends"
- ],
- "globals": {
- "define": false
- },
- "parserOptions": {
- "ecmaVersion": 2016
- },
- "plugins": [
- "@stylistic"
- ],
- "rules": {
- "camelcase": "off",
- "capitalized-comments": "off",
- "curly": ["error", "multi-line"],
- "func-names": "off",
- "func-style": ["error", "declaration"],
- "id-length": ["error", { "min": 1 }],
- "line-comment-position": "off",
- "logical-assignment-operators": ["error", "never"],
- "max-params": ["warn", 6],
- "max-statements": ["warn", 55],
- "multiline-comment-style": "off",
- "no-continue": "off",
- "no-inline-comments": "off",
- "no-magic-numbers": "off",
- "no-negated-condition": "off",
- "no-plusplus": "off",
- "no-ternary": "off",
- "object-shorthand": "off",
- "one-var": ["error", { "initialized": "never" }],
- "prefer-named-capture-group": "off",
- "prefer-object-has-own": "off",
- "prefer-spread": "off",
- "prefer-template": "off",
- "require-unicode-regexp": "off",
-
- "@stylistic/array-bracket-newline": ["error", "consistent"],
- "@stylistic/array-element-newline": "off",
- "@stylistic/brace-style": ["error", "1tbs", { "allowSingleLine": true }],
- "@stylistic/comma-dangle": ["error", "only-multiline"],
- "@stylistic/dot-location": ["error", "property"],
- "@stylistic/function-call-argument-newline": "off",
- "@stylistic/max-len": ["error", { "code": 128 }],
- "@stylistic/max-statements-per-line": ["error", { "max": 2 }],
- "@stylistic/multiline-comment-style": "off",
- "@stylistic/multiline-ternary": ["error", "always-multiline"],
- "@stylistic/newline-per-chained-call": ["error", { "ignoreChainWithDepth": 5 }],
- "@stylistic/no-extra-parens": ["error", "functions"],
- "@stylistic/object-property-newline": ["error", { "allowAllPropertiesOnSameLine": true }],
- "@stylistic/padded-blocks": ["error", "never"],
- "@stylistic/quote-props" : ["error", "consistent-as-needed"],
- "@stylistic/quotes": ["error", "double", { "avoidEscape": true }],
- "@stylistic/semi": ["error", "always"],
- "@stylistic/space-before-function-paren": ["error", {
- "anonymous": "always",
- "named": "never"
- }],
-
-
- // Temporarily disabled rules
- "max-lines": "off",
- "max-lines-per-function": "off",
- "no-invalid-this": "off",
- "sort-keys": "off",
-
- "@stylistic/function-paren-newline": "off",
- "@stylistic/indent-binary-ops": "off"
- }
-}