Update eslint to 4.22.0
This commit is contained in:
parent
5a11566ff2
commit
dc10e6235d
|
@ -8,7 +8,7 @@ module.exports = {
|
|||
plugins: ["@typescript-eslint"],
|
||||
rules: {
|
||||
"prefer-const": "warn",
|
||||
"@typescript-eslint/ban-ts-ignore": "warn",
|
||||
"@typescript-eslint/ban-ts-comment": "warn",
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
"warn",
|
||||
{ argsIgnorePattern: "^_", varsIgnorePattern: "^_" },
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
node_modules
|
||||
yarn-error.log
|
||||
|
|
|
@ -186,7 +186,7 @@ export class EditorToolbar extends HTMLElement {
|
|||
customElements.define("anki-editor-toolbar", EditorToolbar);
|
||||
|
||||
/* Exports for editor */
|
||||
// @ts-expect-error
|
||||
// @ts-expect-error insufficient typing of svelte modules
|
||||
export { updateActiveButtons, clearActiveButtons } from "./CommandIconButton.svelte";
|
||||
// @ts-expect-error
|
||||
// @ts-expect-error insufficient typing of svelte modules
|
||||
export { enableButtons, disableButtons } from "./EditorToolbar.svelte";
|
||||
|
|
|
@ -140,14 +140,6 @@ export function gatherData(
|
|||
};
|
||||
}
|
||||
|
||||
interface Reviews {
|
||||
mature: number;
|
||||
young: number;
|
||||
learn: number;
|
||||
relearn: number;
|
||||
early: number;
|
||||
}
|
||||
|
||||
export interface SummedDatum {
|
||||
label: string;
|
||||
// count of this particular item
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* eslint
|
||||
@typescript-eslint/no-non-null-assertion: "off",
|
||||
@typescript-eslint/no-explicit-any: "off",
|
||||
@typescript-eslint/ban-ts-ignore: "off" */
|
||||
@typescript-eslint/ban-ts-comment: "off" */
|
||||
|
||||
import type pb from "anki/backend_proto";
|
||||
import type { Selection } from "d3";
|
||||
|
|
|
@ -22,13 +22,13 @@
|
|||
"@types/node": "^14.14.20",
|
||||
"@types/react": "^16.9.53",
|
||||
"@types/react-dom": "^16.9.8",
|
||||
"@typescript-eslint/eslint-plugin": "^2.11.0",
|
||||
"@typescript-eslint/parser": "^2.11.0",
|
||||
"@typescript-eslint/eslint-plugin": "^4.22.0",
|
||||
"@typescript-eslint/parser": "^4.22.0",
|
||||
"chalk": "^4.1.0",
|
||||
"cross-env": "^7.0.2",
|
||||
"diff": "^5.0.0",
|
||||
"escodegen": "^2.0.0",
|
||||
"eslint": "^6.7.2",
|
||||
"eslint": "^7.24.0",
|
||||
"espree": "^7.3.1",
|
||||
"estraverse": "^5.2.0",
|
||||
"glob": "^7.1.6",
|
||||
|
|
717
ts/yarn.lock
717
ts/yarn.lock
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue