1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

chore(deps): update dependency eslint-config-airbnb-typescript to v16.1.0 (#1147)

* chore(deps): update dependency eslint-config-airbnb-typescript to v16.1.0

* chore: Update a few places with eslint-ignore due to new linter rules for optional parameters

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: sighphyre <liquidwicked64@gmail.com>
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
This commit is contained in:
renovate[bot] 2022-04-25 13:14:43 +02:00 committed by GitHub
parent dc06c2c90d
commit f52f1cadac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 10 additions and 8 deletions

View File

@ -144,7 +144,8 @@
"del-cli": "4.0.1",
"eslint": "8.13.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "16.0.0",
"eslint-config-airbnb-typescript": "16.1.0",
"eslint-config-prettier": "8.3.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "4.0.0",

View File

@ -7,7 +7,7 @@ import { ApiTokenType } from '../types/models/api-token';
function demoAuthentication(
app: Application,
basePath: string = '',
basePath: string = '', // eslint-disable-line
{ userService }: Pick<IUnleashServices, 'userService'>,
{ authentication }: Pick<IUnleashConfig, 'authentication'>,
): void {

View File

@ -1,6 +1,7 @@
import { Application } from 'express';
import NoAuthUser from '../types/no-auth-user';
// eslint-disable-next-line
function noneAuthentication(basePath = '', app: Application): void {
app.use(`${basePath}/api/admin/`, (req, res, next) => {
// @ts-ignore

View File

@ -604,7 +604,7 @@ class FeatureToggleService {
featureName: string,
projectId: string,
newFeatureName: string,
replaceGroupId: boolean = true,
replaceGroupId: boolean = true, // eslint-disable-line
userName: string,
): Promise<FeatureToggle> {
this.logger.info(

View File

@ -596,7 +596,7 @@ export default class StateService {
async importTagTypes(
tagTypes: ITagType[],
keepExisting: boolean,
oldTagTypes: ITagType[] = [],
oldTagTypes: ITagType[] = [], // eslint-disable-line
userName: string,
): Promise<void> {
const tagTypesToInsert = tagTypes.filter((tagType) =>

View File

@ -2768,10 +2768,10 @@ eslint-config-airbnb-base@15.0.0, eslint-config-airbnb-base@^15.0.0:
object.entries "^1.1.5"
semver "^6.3.0"
eslint-config-airbnb-typescript@16.0.0:
version "16.0.0"
resolved "https://registry.npmjs.org/eslint-config-airbnb-typescript/-/eslint-config-airbnb-typescript-16.0.0.tgz"
integrity sha512-qDOyD0YYZo5Us1YvOnWig2Ly/+IlQKmMZpnqKnJgVtHdK8SkjaSyVBHKbD41dEaQxk8vRVGBC94PuR2ceSwbLQ==
eslint-config-airbnb-typescript@16.1.0:
version "16.1.0"
resolved "https://registry.yarnpkg.com/eslint-config-airbnb-typescript/-/eslint-config-airbnb-typescript-16.1.0.tgz#f75a6b4f3bb679eef34c3c930359c2ca9bc3f09c"
integrity sha512-W5Cq20KpEx5ZLC54bnVrC37zq2+WD956Kp/Ma3nYFRjT1v9KM63v+DPkrrmmrVqrlDKaD0ivm/qeYmyHV6qKlw==
dependencies:
eslint-config-airbnb-base "^15.0.0"