Skip to content

Commit

Permalink
ignore docs in linter (#49)
Browse files Browse the repository at this point in the history
* ignore docs in linter

* changeset
  • Loading branch information
peersky authored Jun 12, 2024
1 parent d449bb2 commit ae43df3
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 26 deletions.
5 changes: 5 additions & 0 deletions .changeset/gorgeous-badgers-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'rankify-contracts': patch
---

Fixed linter errors on docs templates directory
51 changes: 25 additions & 26 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -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"
}
}
"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"
}
}

0 comments on commit ae43df3

Please sign in to comment.