mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 08:03:13 +09:00
Update lint rules for templates
This commit is contained in:
2 files changed
+11
-1
No files matched your search
@@ -93,6 +93,16 @@ module.exports = {
|
|||||||
"node/shebang": "off",
|
"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": {
|
"rules": {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import React, { useContext, useEffect, useState } from "react";
|
|||||||
// import { } from "antd";
|
// import { } from "antd";
|
||||||
|
|
||||||
import {
|
import {
|
||||||
BaseWebPlugin, PageLayout, Control, ControlContext, notifyErrorHandler
|
BaseWebPlugin, PageLayout, Control, ControlContext, notifyErrorHandler,
|
||||||
} from "@clusterio/web_ui";
|
} from "@clusterio/web_ui";
|
||||||
|
|
||||||
import * as lib from "@clusterio/lib";
|
import * as lib from "@clusterio/lib";
|
||||||
|
|||||||
Reference in new issue
Block a user