mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-04 13:48:56 +02: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:
parent
dc06c2c90d
commit
f52f1cadac
@ -144,7 +144,8 @@
|
|||||||
"del-cli": "4.0.1",
|
"del-cli": "4.0.1",
|
||||||
"eslint": "8.13.0",
|
"eslint": "8.13.0",
|
||||||
"eslint-config-airbnb-base": "15.0.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-config-prettier": "8.5.0",
|
||||||
"eslint-plugin-import": "2.26.0",
|
"eslint-plugin-import": "2.26.0",
|
||||||
"eslint-plugin-prettier": "4.0.0",
|
"eslint-plugin-prettier": "4.0.0",
|
||||||
|
@ -7,7 +7,7 @@ import { ApiTokenType } from '../types/models/api-token';
|
|||||||
|
|
||||||
function demoAuthentication(
|
function demoAuthentication(
|
||||||
app: Application,
|
app: Application,
|
||||||
basePath: string = '',
|
basePath: string = '', // eslint-disable-line
|
||||||
{ userService }: Pick<IUnleashServices, 'userService'>,
|
{ userService }: Pick<IUnleashServices, 'userService'>,
|
||||||
{ authentication }: Pick<IUnleashConfig, 'authentication'>,
|
{ authentication }: Pick<IUnleashConfig, 'authentication'>,
|
||||||
): void {
|
): void {
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
import { Application } from 'express';
|
import { Application } from 'express';
|
||||||
import NoAuthUser from '../types/no-auth-user';
|
import NoAuthUser from '../types/no-auth-user';
|
||||||
|
|
||||||
|
// eslint-disable-next-line
|
||||||
function noneAuthentication(basePath = '', app: Application): void {
|
function noneAuthentication(basePath = '', app: Application): void {
|
||||||
app.use(`${basePath}/api/admin/`, (req, res, next) => {
|
app.use(`${basePath}/api/admin/`, (req, res, next) => {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
@ -604,7 +604,7 @@ class FeatureToggleService {
|
|||||||
featureName: string,
|
featureName: string,
|
||||||
projectId: string,
|
projectId: string,
|
||||||
newFeatureName: string,
|
newFeatureName: string,
|
||||||
replaceGroupId: boolean = true,
|
replaceGroupId: boolean = true, // eslint-disable-line
|
||||||
userName: string,
|
userName: string,
|
||||||
): Promise<FeatureToggle> {
|
): Promise<FeatureToggle> {
|
||||||
this.logger.info(
|
this.logger.info(
|
||||||
|
@ -596,7 +596,7 @@ export default class StateService {
|
|||||||
async importTagTypes(
|
async importTagTypes(
|
||||||
tagTypes: ITagType[],
|
tagTypes: ITagType[],
|
||||||
keepExisting: boolean,
|
keepExisting: boolean,
|
||||||
oldTagTypes: ITagType[] = [],
|
oldTagTypes: ITagType[] = [], // eslint-disable-line
|
||||||
userName: string,
|
userName: string,
|
||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
const tagTypesToInsert = tagTypes.filter((tagType) =>
|
const tagTypesToInsert = tagTypes.filter((tagType) =>
|
||||||
|
@ -2768,10 +2768,10 @@ eslint-config-airbnb-base@15.0.0, eslint-config-airbnb-base@^15.0.0:
|
|||||||
object.entries "^1.1.5"
|
object.entries "^1.1.5"
|
||||||
semver "^6.3.0"
|
semver "^6.3.0"
|
||||||
|
|
||||||
eslint-config-airbnb-typescript@16.0.0:
|
eslint-config-airbnb-typescript@16.1.0:
|
||||||
version "16.0.0"
|
version "16.1.0"
|
||||||
resolved "https://registry.npmjs.org/eslint-config-airbnb-typescript/-/eslint-config-airbnb-typescript-16.0.0.tgz"
|
resolved "https://registry.yarnpkg.com/eslint-config-airbnb-typescript/-/eslint-config-airbnb-typescript-16.1.0.tgz#f75a6b4f3bb679eef34c3c930359c2ca9bc3f09c"
|
||||||
integrity sha512-qDOyD0YYZo5Us1YvOnWig2Ly/+IlQKmMZpnqKnJgVtHdK8SkjaSyVBHKbD41dEaQxk8vRVGBC94PuR2ceSwbLQ==
|
integrity sha512-W5Cq20KpEx5ZLC54bnVrC37zq2+WD956Kp/Ma3nYFRjT1v9KM63v+DPkrrmmrVqrlDKaD0ivm/qeYmyHV6qKlw==
|
||||||
dependencies:
|
dependencies:
|
||||||
eslint-config-airbnb-base "^15.0.0"
|
eslint-config-airbnb-base "^15.0.0"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user