From 9f6039954932e0ec282779d11b8fc93fe0c440bb Mon Sep 17 00:00:00 2001 From: EDeev Date: Fri, 26 Dec 2025 14:17:00 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=BA=D0=BE=D0=BD=D1=84=D0=B8=D0=B3=D0=B8=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D0=BB=D0=B8=D0=BD=D1=82=D0=B5=D1=80=D0=BE?= =?UTF-8?q?=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.json | 31 +++++++++++++++++++++++++++++++ .htmlhintrc | 17 +++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 .eslintrc.json create mode 100644 .htmlhintrc diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..a0b502b --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,31 @@ +{ + "env": { + "es6": true + }, + "rules": { + "indent": "error", + "space-before-blocks": "error", + "keyword-spacing": "error", + "space-infix-ops": "error", + "space-in-parens": "error", + "brace-style": "error", + "comma-spacing": "error", + "array-bracket-spacing": "error", + "no-multi-spaces": "error", + "no-multiple-empty-lines": "error", + "computed-property-spacing": "error", + "func-call-spacing": "error", + "max-len": [ + "error", + { + "code": 80 + } + ], + "semi": "error", + "no-use-before-define": "error", + "no-array-constructor": "error" + }, + "parserOptions": { + "ecmaVersion": 2017 + } +} diff --git a/.htmlhintrc b/.htmlhintrc new file mode 100644 index 0000000..c435eef --- /dev/null +++ b/.htmlhintrc @@ -0,0 +1,17 @@ +{ + "doctype-first": true, + "title-require": true, + "style-disabled": true, + "inline-style-disabled": true, + "tagname-lowercase": true, + "inline-script-disabled": true, + "attr-lowercase": true, + "attr-value-double-quotes": true, + "attr-no-duplication": true, + "attr-no-unnecessary-whitespace": true, + "tag-pair": true, + "spec-char-escape": true, + "id-unique": true, + "src-not-empty": true, + "space-tab-mixed-disabled": "space4" +}