You've already forked tf2wikipricing
lint: allow require imports
This commit is contained in:
@@ -9,8 +9,13 @@ import { defineConfig } from "eslint/config";
|
|||||||
export default defineConfig([
|
export default defineConfig([
|
||||||
{ ignores: ["**/GM_fetch/**/*.js"] },
|
{ ignores: ["**/GM_fetch/**/*.js"] },
|
||||||
{ files: ["**/*.{js,mjs,cjs,ts}"], plugins: { js }, extends: ["js/recommended"] },
|
{ files: ["**/*.{js,mjs,cjs,ts}"], plugins: { js }, extends: ["js/recommended"] },
|
||||||
{ files: ["**/*.{js,mjs,cjs,ts}"], languageOptions: { globals: globals.browser } },
|
|
||||||
tseslint.configs.recommended,
|
tseslint.configs.recommended,
|
||||||
|
{
|
||||||
|
rules: {
|
||||||
|
"@typescript-eslint/no-require-imports": "off"
|
||||||
|
},
|
||||||
|
languageOptions: { globals: globals.browser }
|
||||||
|
},
|
||||||
{ files: ["**/*.json"], plugins: { json }, language: "json/json", extends: ["json/recommended"] },
|
{ files: ["**/*.json"], plugins: { json }, language: "json/json", extends: ["json/recommended"] },
|
||||||
{ files: ["**/*.jsonc"], plugins: { json }, language: "json/jsonc", extends: ["json/recommended"] },
|
{ files: ["**/*.jsonc"], plugins: { json }, language: "json/jsonc", extends: ["json/recommended"] },
|
||||||
{ files: ["**/*.css"], plugins: { css }, language: "css/css", extends: ["css/recommended"] },
|
{ files: ["**/*.css"], plugins: { css }, language: "css/css", extends: ["css/recommended"] },
|
||||||
|
|||||||
Reference in New Issue
Block a user