From ae43df3f35fdcd49d33d76eaf9b452dbe453e202 Mon Sep 17 00:00:00 2001 From: Peersky <61459744+peersky@users.noreply.github.com> Date: Wed, 12 Jun 2024 10:01:05 +0200 Subject: [PATCH] ignore docs in linter (#49) * ignore docs in linter * changeset --- .changeset/gorgeous-badgers-warn.md | 5 +++ .eslintrc | 51 ++++++++++++++--------------- 2 files changed, 30 insertions(+), 26 deletions(-) create mode 100644 .changeset/gorgeous-badgers-warn.md diff --git a/.changeset/gorgeous-badgers-warn.md b/.changeset/gorgeous-badgers-warn.md new file mode 100644 index 00000000..c8ff8752 --- /dev/null +++ b/.changeset/gorgeous-badgers-warn.md @@ -0,0 +1,5 @@ +--- +'rankify-contracts': patch +--- + +Fixed linter errors on docs templates directory diff --git a/.eslintrc b/.eslintrc index 9b04f8fc..13fb58d0 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,27 +1,26 @@ { - "root": true, - "parser": "@typescript-eslint/parser", - "env": { - "es2022": true, - "browser": true, - "node": true, - "mocha": true - }, - "extends" : [ - "eslint:recommended", - "plugin:promise/recommended", - "prettier" // eslint-config-prettier - ], - "plugins": [ - "promise" - ], - "globals" : { - "artifacts": "readonly", - "contract": "readonly", - "assert": "readonly", - "web3": "readonly" - }, - "rules": { - "no-unused-vars": "off" - } - } \ No newline at end of file + "root": true, + "parser": "@typescript-eslint/parser", + "env": { + "es2022": true, + "browser": true, + "node": true, + "mocha": true + }, + "extends": [ + "eslint:recommended", + "plugin:promise/recommended", + "prettier" // eslint-config-prettier + ], + "plugins": ["promise"], + "ignorePatterns": ["docs/templates/", "node_modules/"], + "globals": { + "artifacts": "readonly", + "contract": "readonly", + "assert": "readonly", + "web3": "readonly" + }, + "rules": { + "no-unused-vars": "off" + } +}