ESLint: Set no-unused-vars rule to error
This rule should output error instead of just a warning.
This commit is contained in:
parent
4d051eecde
commit
67a0f86dde
3 changed files with 9 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import React, { useEffect, useState } from 'react';
|
||||
import React from 'react';
|
||||
|
||||
import {
|
||||
Button,
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ export const getLastBlueprintReq = () => {
|
|||
return lastRequest.blueprints[lastRequest.blueprints.length - 1];
|
||||
};
|
||||
|
||||
export const cockpitFile = (filepath: string, options?: object) => {
|
||||
export const cockpitFile = (filepath: string, _options?: object) => {
|
||||
return {
|
||||
read: (): Promise<string> => {
|
||||
const file = path.parse(filepath);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue