Skip to content

Commit

Permalink
remove paths
Browse files Browse the repository at this point in the history
  • Loading branch information
nirtamir2 committed Sep 24, 2024
1 parent c2efda6 commit 5d86ac8
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 73 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@
"eslint-plugin-no-only-tests": "^3.3.0",
"eslint-plugin-no-use-extend-native": "0.7.2",
"eslint-plugin-optimize-regex": "^1.2.1",
"eslint-plugin-paths": "^1.0.8",
"eslint-plugin-perfectionist": "^3.7.0",
"eslint-plugin-regexp": "^2.6.0",
"eslint-plugin-sonarjs": "^2.0.2",
Expand Down
51 changes: 0 additions & 51 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions src/configs/storybook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,5 @@ export async function storybook(): Promise<Array<TypedFlatConfigItem>> {
"i18next/no-string-literal": "off",
},
},
{
name: "nirtamir2/storybook/disables",
files: ["**/.storybook/**"],
rules: {
"paths/alias": "off",
},
},
];
}
14 changes: 1 addition & 13 deletions src/configs/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ import expectType from "eslint-plugin-expect-type/configs/recommended";
import process from "node:process";
import tseslint from "typescript-eslint";
import { GLOB_ASTRO_TS, GLOB_MARKDOWN, GLOB_TS, GLOB_TSX } from "../globs";
import {
eslintPluginPaths,
pluginAntfu,
pluginSortDestructureKeysTypescript,
} from "../plugins";
import { pluginAntfu, pluginSortDestructureKeysTypescript } from "../plugins";
import type {
OptionsComponentExts,
OptionsFiles,
Expand Down Expand Up @@ -106,7 +102,6 @@ export async function typescript(
// Install the plugins without globs, so they can be configured separately.
name: "antfu/typescript/setup",
plugins: {
paths: eslintPluginPaths,
antfu: pluginAntfu,
"sort-destructure-keys-typescript": pluginSortDestructureKeysTypescript,
// "@typescript-eslint": pluginTs as any,
Expand Down Expand Up @@ -491,13 +486,6 @@ export async function typescript(
"array-callback-return": "off", // https://github.com/typescript-eslint/typescript-eslint/issues/2841 - false positive with TypeScript
},
},
{
name: "nirtamir2/typescript/paths",
files,
rules: {
"paths/alias": "warn",
},
},
isTypeAware ? [] : tseslint.configs.disableTypeChecked,
{
name: "nirtamir2/typescript/overrides",
Expand Down
1 change: 0 additions & 1 deletion src/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ export { default as js } from "@eslint/js";
export { default as confusingBrowserGlobals } from "confusing-browser-globals";
export { default as arrayFunc } from "eslint-plugin-array-func";
export { default as eslintPluginNoUseExtendNative } from "eslint-plugin-no-use-extend-native";
export { default as eslintPluginPaths } from "eslint-plugin-paths";
export { default as eslintConfigPrettier } from "eslint-config-prettier";

0 comments on commit 5d86ac8

Please sign in to comment.