Skip to content

Commit

Permalink
Disable revive's unused-parameter rule
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzei committed Aug 8, 2023
1 parent 8b3ceba commit 7f122f2
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ linters-settings:
- fieldalignment
misspell:
locale: US
revive:
rules:
- name: unused-parameter
disabled: true

linters:
disable-all: true
Expand Down
4 changes: 2 additions & 2 deletions webapp/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules
.npminstall
.eslintcache
junit.xml
node_modules
44 changes: 44 additions & 0 deletions webapp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@
"main": "src/index.js",
"scripts": {
"build": "webpack --mode=production",
"build:watch": "webpack --mode=production --watch",
"debug": "webpack --mode=none",
"lint": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx --ext tsx --ext ts . --quiet",
"fix": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx --ext tsx --ext ts . --quiet --fix",
"debug:watch": "webpack --mode=development --watch",
"lint": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx --ext tsx --ext ts . --quiet --cache",
"fix": "eslint --ignore-pattern node_modules --ignore-pattern dist --ext .js --ext .jsx --ext tsx --ext ts . --quiet --fix --cache",
"test": "jest --forceExit --detectOpenHandles --verbose",
"test:watch": "jest --watch",
"test-ci": "jest --forceExit --detectOpenHandles --maxWorkers=2"
"test-ci": "jest --forceExit --detectOpenHandles --maxWorkers=2",
"check-types": "tsc"
},
"author": "",
"license": "Apache-2.0",
Expand All @@ -30,6 +33,7 @@
"@types/react": "16.9.17",
"@types/react-dom": "16.9.4",
"@types/react-intl": "2.3.18",
"@types/react-redux": "7.1.25",
"@types/react-router-dom": "4.3.4",
"@types/react-transition-group": "4.2.2",
"@typescript-eslint/eslint-plugin": "1.13.0",
Expand Down

0 comments on commit 7f122f2

Please sign in to comment.