diff --git a/packages/eslint-plugin/lib/config/core.ts b/packages/eslint-plugin/lib/config/core.ts index a447969e..8f4e6813 100644 --- a/packages/eslint-plugin/lib/config/core.ts +++ b/packages/eslint-plugin/lib/config/core.ts @@ -7,7 +7,7 @@ import { javaScriptFiles } from "../utils/patterns.ts"; const config: Linter.FlatConfig[] = await concat( js.configs.recommended as Linter.FlatConfig, { - name: "Workleap/Core", + name: "workleap/core", files: javaScriptFiles, languageOptions: { globals: { diff --git a/packages/eslint-plugin/lib/config/jest.ts b/packages/eslint-plugin/lib/config/jest.ts index b796c052..973d0017 100644 --- a/packages/eslint-plugin/lib/config/jest.ts +++ b/packages/eslint-plugin/lib/config/jest.ts @@ -5,7 +5,7 @@ import { reactTestFiles, testFiles } from "../utils/patterns.ts"; const config: Linter.FlatConfig[] = await concat( { - name: "Workleap/Jest", + name: "workleap/jest", files: [...testFiles, ...reactTestFiles], ...jestPlugin.configs["flat/recommended"], rules: { diff --git a/packages/eslint-plugin/lib/config/jsx-a11y.ts b/packages/eslint-plugin/lib/config/jsx-a11y.ts index dd10b6e7..bbfd9e94 100644 --- a/packages/eslint-plugin/lib/config/jsx-a11y.ts +++ b/packages/eslint-plugin/lib/config/jsx-a11y.ts @@ -5,7 +5,7 @@ import { sourceFiles } from "../utils/patterns.ts"; const config: Linter.FlatConfig[] = await concat( { - name: "Workleap/JsxA11y", + name: "workleap/jsx-a11y", plugins: { "jsx-a11y": jsxA11yPlugin }, languageOptions: { parserOptions: jsxA11yPlugin.configs.recommended.parserOptions diff --git a/packages/eslint-plugin/lib/config/mdx.ts b/packages/eslint-plugin/lib/config/mdx.ts index 53557c11..a8ba365b 100644 --- a/packages/eslint-plugin/lib/config/mdx.ts +++ b/packages/eslint-plugin/lib/config/mdx.ts @@ -4,7 +4,7 @@ import { mdxFiles } from "../utils/patterns.ts"; const config: Linter.FlatConfig[] = [ { - name: "Workleap/MDX", + name: "workleap/mdx", ...mdxPlugin.flat, files: mdxFiles, processor: mdxPlugin.createRemarkProcessor({ diff --git a/packages/eslint-plugin/lib/config/package-json.ts b/packages/eslint-plugin/lib/config/package-json.ts index beb9eef1..e7a23064 100644 --- a/packages/eslint-plugin/lib/config/package-json.ts +++ b/packages/eslint-plugin/lib/config/package-json.ts @@ -5,7 +5,7 @@ import packageJsonPluginRecommended from "eslint-plugin-package-json/configs/rec const config: Linter.FlatConfig[] = await concat( { ...(packageJsonPluginRecommended as Linter.FlatConfig), - name: "Workleap/Package.json", + name: "workleap/package-json", files: ["package.json"], rules: { ...packageJsonPluginRecommended.rules, diff --git a/packages/eslint-plugin/lib/config/react.ts b/packages/eslint-plugin/lib/config/react.ts index 22fd986a..2fbf49f3 100644 --- a/packages/eslint-plugin/lib/config/react.ts +++ b/packages/eslint-plugin/lib/config/react.ts @@ -7,7 +7,7 @@ import { sourceFiles } from "../utils/patterns.ts"; const config: Linter.FlatConfig[] = await concat( { - name: "Workleap/React", + name: "workleap/react", files: sourceFiles, plugins: { react: reactPlugin @@ -81,7 +81,7 @@ const config: Linter.FlatConfig[] = await concat( } }, { - name: "Workleap/React", + name: "workleap/react", ...reactHooksPlugin.configs.recommended, plugins: { "react-hooks": reactHooksPlugin diff --git a/packages/eslint-plugin/lib/config/storybook.ts b/packages/eslint-plugin/lib/config/storybook.ts index 1463b1ca..2d6d080f 100644 --- a/packages/eslint-plugin/lib/config/storybook.ts +++ b/packages/eslint-plugin/lib/config/storybook.ts @@ -7,7 +7,7 @@ import { mainStorybookFiles, storybookFiles } from "../utils/patterns.ts"; const config: Linter.FlatConfig[] = await concat( { - name: "Workleap/Storybook", + name: "workleap/storybook", files: storybookFiles, plugins: { "storybook": storybookPlugin }, rules: { @@ -17,7 +17,7 @@ const config: Linter.FlatConfig[] = await concat( } }, { - name: "Workleap/Storybook", + name: "workleap/storybook", files: mainStorybookFiles, plugins: { "storybook": storybookPlugin }, rules: { diff --git a/packages/eslint-plugin/lib/config/testing-library.ts b/packages/eslint-plugin/lib/config/testing-library.ts index 36f45ba5..0660b9fa 100644 --- a/packages/eslint-plugin/lib/config/testing-library.ts +++ b/packages/eslint-plugin/lib/config/testing-library.ts @@ -5,7 +5,7 @@ import { reactTestFiles, testFiles } from "../utils/patterns.ts"; const config: Linter.FlatConfig[] = await concat( { - name: "Workleap/TestingLibrary", + name: "workleap/testing-library", files: reactTestFiles, plugins: { "testing-library": testingLibraryPlugin @@ -13,7 +13,7 @@ const config: Linter.FlatConfig[] = await concat( rules: testingLibraryPlugin.configs.react.rules }, { - name: "Workleap/TestingLibrary", + name: "workleap/testing-library", files: testFiles, plugins: { "testing-library": testingLibraryPlugin diff --git a/packages/eslint-plugin/lib/config/typescript.ts b/packages/eslint-plugin/lib/config/typescript.ts index 5ac4b19d..f228c371 100644 --- a/packages/eslint-plugin/lib/config/typescript.ts +++ b/packages/eslint-plugin/lib/config/typescript.ts @@ -10,7 +10,7 @@ const config: Linter.FlatConfig[] = await concat( // @ts-expect-error ESLint and TS-ESLint types don't match, even though objects are the same shape tseslint.configs.recommended, { - name: "Workleap/TypeScript", + name: "workleap/typescript", files: typeScriptFiles, plugins: { "@typescript-eslint": tseslint.plugin