fix subpackage linting #523

This commit is contained in:
keyan 2023-09-26 14:58:36 -05:00
parent 370e3c1c48
commit b740eeb2c4
3 changed files with 1 additions and 59 deletions

48
package-lock.json generated
View File

@ -92,7 +92,6 @@
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.22.10", "@babel/core": "^7.22.10",
"@babel/eslint-parser": "^7.22.10",
"@next/eslint-plugin-next": "^13.4.16", "@next/eslint-plugin-next": "^13.4.16",
"eslint": "^8.47.0", "eslint": "^8.47.0",
"standard": "^17.1.0" "standard": "^17.1.0"
@ -571,24 +570,6 @@
"node": ">=6" "node": ">=6"
} }
}, },
"node_modules/@babel/eslint-parser": {
"version": "7.22.10",
"resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.22.10.tgz",
"integrity": "sha512-0J8DNPRXQRLeR9rPaUMM3fA+RbixjnVLe/MRMYCkp3hzgsSuxCHQ8NN8xQG1wIHKJ4a1DTROTvFJdW+B5/eOsg==",
"dev": true,
"dependencies": {
"@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1",
"eslint-visitor-keys": "^2.1.0",
"semver": "^6.3.1"
},
"engines": {
"node": "^10.13.0 || ^12.13.0 || >=14.0.0"
},
"peerDependencies": {
"@babel/core": "^7.11.0",
"eslint": "^7.5.0 || ^8.0.0"
}
},
"node_modules/@babel/generator": { "node_modules/@babel/generator": {
"version": "7.22.10", "version": "7.22.10",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.10.tgz", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.10.tgz",
@ -2692,15 +2673,6 @@
"node": ">= 10" "node": ">= 10"
} }
}, },
"node_modules/@nicolo-ribaudo/eslint-scope-5-internals": {
"version": "5.1.1-v1",
"resolved": "https://registry.npmjs.org/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz",
"integrity": "sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==",
"dev": true,
"dependencies": {
"eslint-scope": "5.1.1"
}
},
"node_modules/@nicolo-ribaudo/semver-v6": { "node_modules/@nicolo-ribaudo/semver-v6": {
"version": "6.3.3", "version": "6.3.3",
"resolved": "https://registry.npmjs.org/@nicolo-ribaudo/semver-v6/-/semver-v6-6.3.3.tgz", "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/semver-v6/-/semver-v6-6.3.3.tgz",
@ -18654,17 +18626,6 @@
} }
} }
}, },
"@babel/eslint-parser": {
"version": "7.22.10",
"resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.22.10.tgz",
"integrity": "sha512-0J8DNPRXQRLeR9rPaUMM3fA+RbixjnVLe/MRMYCkp3hzgsSuxCHQ8NN8xQG1wIHKJ4a1DTROTvFJdW+B5/eOsg==",
"dev": true,
"requires": {
"@nicolo-ribaudo/eslint-scope-5-internals": "5.1.1-v1",
"eslint-visitor-keys": "^2.1.0",
"semver": "^6.3.1"
}
},
"@babel/generator": { "@babel/generator": {
"version": "7.22.10", "version": "7.22.10",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.10.tgz", "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.22.10.tgz",
@ -20084,15 +20045,6 @@
"integrity": "sha512-WamDZm1M/OEM4QLce3lOmD1XdLEl37zYZwlmOLhmF7qYJ2G6oYm9+ejZVv+LakQIsIuXhSpVlOvrxIAHqwRkPQ==", "integrity": "sha512-WamDZm1M/OEM4QLce3lOmD1XdLEl37zYZwlmOLhmF7qYJ2G6oYm9+ejZVv+LakQIsIuXhSpVlOvrxIAHqwRkPQ==",
"optional": true "optional": true
}, },
"@nicolo-ribaudo/eslint-scope-5-internals": {
"version": "5.1.1-v1",
"resolved": "https://registry.npmjs.org/@nicolo-ribaudo/eslint-scope-5-internals/-/eslint-scope-5-internals-5.1.1-v1.tgz",
"integrity": "sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==",
"dev": true,
"requires": {
"eslint-scope": "5.1.1"
}
},
"@nicolo-ribaudo/semver-v6": { "@nicolo-ribaudo/semver-v6": {
"version": "6.3.3", "version": "6.3.3",
"resolved": "https://registry.npmjs.org/@nicolo-ribaudo/semver-v6/-/semver-v6-6.3.3.tgz", "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/semver-v6/-/semver-v6-6.3.3.tgz",

View File

@ -96,25 +96,17 @@
"node": "18.17.0" "node": "18.17.0"
}, },
"standard": { "standard": {
"parser": "@babel/eslint-parser",
"plugins": [ "plugins": [
"@next/next" "@next/next"
], ],
"extends": [ "extends": [
"next" "next"
],
"ignore": [
"**/spawn",
"**/worker",
"**/api",
"**/lib"
] ]
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.22.10", "@babel/core": "^7.22.10",
"@babel/eslint-parser": "^7.22.10",
"@next/eslint-plugin-next": "^13.4.16", "@next/eslint-plugin-next": "^13.4.16",
"eslint": "^8.47.0", "eslint": "^8.47.0",
"standard": "^17.1.0" "standard": "^17.1.0"
} }
} }

View File

@ -11,7 +11,6 @@ import { indexItem, indexAllItems } from './search.js'
import { timestampItem } from './ots.js' import { timestampItem } from './ots.js'
import { computeStreaks, checkStreak } from './streak.js' import { computeStreaks, checkStreak } from './streak.js'
import { nip57 } from './nostr.js' import { nip57 } from './nostr.js'
import fetch from 'cross-fetch' import fetch from 'cross-fetch'
import { authenticatedLndGrpc } from 'ln-service' import { authenticatedLndGrpc } from 'ln-service'
import { views, rankViews } from './views.js' import { views, rankViews } from './views.js'
@ -21,7 +20,6 @@ const { ApolloClient, HttpLink, InMemoryCache } = apolloClient
loadEnvConfig('..') loadEnvConfig('..')
async function work () { async function work () {
const boss = new PgBoss(process.env.DATABASE_URL) const boss = new PgBoss(process.env.DATABASE_URL)
const models = new PrismaClient() const models = new PrismaClient()