feceb0f98e
* Update eslint related packages * add errorMessage to no-restricted-paths validation * add license to eslintrc file * ignore broken plugin fixture * upgrade tangled peer deps * give name to unnamed func to avoid typescript-eslint/typescript-eslint#1078 * migrate away from removed prefer-interface * migrate away from removed no-angle-bracket-type-assertions rule * migrate away from removed no-triple-slash-reference rule * old config was invalid and made this rule a noop * fix array-type rule config * fix readonly paramProperties that weren't being checked * fix propType ordering * remove references to non-existent rules * remove unnecessary disable that is improperly formatted * fix comment-related spacing * fix typo/invalid namespace overrides * rename fn to avoid hook-alike behavior * remove reference to old removed rule * use caret version for prettier * reference babel-eslint with absolute path
18 lines
594 B
TypeScript
18 lines
594 B
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License;
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
*/
|
|
|
|
import { Suite } from 'mocha';
|
|
|
|
// We need to use the namespace here to match the Mocha definition
|
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
declare module 'mocha' {
|
|
interface Suite {
|
|
/**
|
|
* Assign tags to the test suite to determine in which CI job it should be run.
|
|
*/
|
|
tags(tags: string[] | string): void;
|
|
}
|
|
}
|