Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
fix(eslint): fix pouchdb test error
Browse files Browse the repository at this point in the history
  • Loading branch information
matteovivona committed Jun 23, 2020
1 parent ed4e709 commit f19d276
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions check-translations/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
extends: '../.eslintrc.js',
rules: {
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}]
}
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
},
}
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"node-sass": "~4.14.0",
"pouchdb": "~7.2.1",
"pouchdb-adapter-memory": "~7.2.1",
"pouchdb-authentication": "~1.1.3",
"pouchdb-find": "~7.2.1",
"pouchdb-quick-search": "~1.3.0",
"react": "~16.13.0",
Expand All @@ -33,7 +32,6 @@
"react-scripts": "~3.4.0",
"redux": "~4.0.5",
"redux-thunk": "~2.3.0",
"relational-pouch": "~4.0.0",
"shortid": "^2.2.15",
"typescript": "~3.8.3",
"uuid": "^8.0.0",
Expand Down Expand Up @@ -77,7 +75,7 @@
"@types/validator": "~13.0.0",
"@typescript-eslint/eslint-plugin": "~3.4.0",
"@typescript-eslint/parser": "~3.4.0",
"chalk": "~4.1.0",
"chalk": "^4.0.0",
"commitizen": "~4.1.2",
"commitlint-config-cz": "~0.13.0",
"cross-env": "~7.0.0",
Expand Down Expand Up @@ -109,7 +107,7 @@
},
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"commit": "npx git-cz",
"commit": "npx git-cz --disable-emoji",
"start": "npm run translation:check && react-scripts start",
"build": "react-scripts build",
"update": "npx npm-check -u",
Expand Down
3 changes: 2 additions & 1 deletion src/config/pouchdb.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* eslint-disable @typescript-eslint/camelcase, @typescript-eslint/no-var-requires */
/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable camelcase */
import PouchDB from 'pouchdb'
import PouchAuth from 'pouchdb-authentication'
import PouchdbFind from 'pouchdb-find'
Expand Down

0 comments on commit f19d276

Please sign in to comment.