Update lint rules for templates

This commit is contained in:
Cooldude2606 committed 2024-01-22 19:09:48 +00:00
1 parent 396e2c59c7
commit de00a043c3
2 files changed
+11 -1

No files matched your search

+10
View File
@@ -93,6 +93,16 @@ module.exports = {
"node/shebang": "off",
},
},
{
"files": [
"packages/create/templates/**/*.ts?(x)",
"packages/create/templates/**/*.js?(x)",
],
"rules": {
"node/no-missing-require": "off",
"node/no-missing-import": "off",
},
},
],
"rules": {
@@ -2,7 +2,7 @@ import React, { useContext, useEffect, useState } from "react";
// import { } from "antd";
import {
BaseWebPlugin, PageLayout, Control, ControlContext, notifyErrorHandler
BaseWebPlugin, PageLayout, Control, ControlContext, notifyErrorHandler,
} from "@clusterio/web_ui";
import * as lib from "@clusterio/lib";