@ghettoddos/eslint-config 1.6.0 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -12969,7 +12969,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
|
|
|
12969
12969
|
onlyEquality?: boolean;
|
|
12970
12970
|
}];
|
|
12971
12971
|
// Names of all the configs
|
|
12972
|
-
type ConfigNames = 'eslint-comments/rules' | 'formatter/setup' | 'imports/rules' | 'javascript/setup' | 'javascript/rules' | 'jsx/setup' | 'jsonc/setup' | 'jsonc/rules' | 'markdown/setup' | 'markdown/processor' | 'markdown/parser' | 'markdown/disables' | 'node/rules' | 'perfectionist/setup' | 'pnpm/package-json' | 'pnpm/pnpm-workspace-yaml' | 'react/setup' | 'react/rules' | 'sort/package-json' | 'stylistic/rules' | 'toml/setup' | 'toml/rules' | 'regexp/rules' | 'typescript/setup' | 'typescript/parser' | 'typescript/rules' | 'unicorn/rules' | 'unocss' | 'yaml/setup' | 'yaml/rules' | 'yaml/pnpm-workspace' | 'next/rules' | 'jsx-a11y/rules' | 'effector/setup' | 'effector/rules' | 'fsd/
|
|
12972
|
+
type ConfigNames = 'eslint-comments/rules' | 'formatter/setup' | 'imports/rules' | 'javascript/setup' | 'javascript/rules' | 'jsx/setup' | 'jsonc/setup' | 'jsonc/rules' | 'markdown/setup' | 'markdown/processor' | 'markdown/parser' | 'markdown/disables' | 'node/rules' | 'perfectionist/setup' | 'pnpm/package-json' | 'pnpm/pnpm-workspace-yaml' | 'react/setup' | 'react/rules' | 'sort/package-json' | 'stylistic/rules' | 'toml/setup' | 'toml/rules' | 'regexp/rules' | 'typescript/setup' | 'typescript/parser' | 'typescript/rules' | 'unicorn/rules' | 'unocss' | 'yaml/setup' | 'yaml/rules' | 'yaml/pnpm-workspace' | 'next/rules' | 'jsx-a11y/rules' | 'effector/setup' | 'effector/rules' | 'fsd/public-api' | 'fsd/layers-slices';
|
|
12973
12973
|
//#endregion
|
|
12974
12974
|
//#region src/vendor/prettier-types.d.ts
|
|
12975
12975
|
/**
|
package/dist/index.js
CHANGED
|
@@ -478,10 +478,7 @@ function getGodModeElements() {
|
|
|
478
478
|
}
|
|
479
479
|
async function fsd(options = {}) {
|
|
480
480
|
const { layersSlices: enableLayersSlices = true, publicApi: enablePublicApi = true } = options;
|
|
481
|
-
const configs$1 = [
|
|
482
|
-
name: "fsd/setup",
|
|
483
|
-
plugins: { "eslint-comments": pluginComments }
|
|
484
|
-
}];
|
|
481
|
+
const configs$1 = [];
|
|
485
482
|
if (enablePublicApi) {
|
|
486
483
|
const { lite = true } = resolveSubOptions(options, "publicApi");
|
|
487
484
|
configs$1.push({
|
|
@@ -502,7 +499,7 @@ async function fsd(options = {}) {
|
|
|
502
499
|
});
|
|
503
500
|
}
|
|
504
501
|
if (enableLayersSlices) {
|
|
505
|
-
ensurePackages(["eslint-plugin-boundaries"]);
|
|
502
|
+
await ensurePackages(["eslint-plugin-boundaries"]);
|
|
506
503
|
const [pluginBoundaries] = await Promise.all([interopDefault(import("eslint-plugin-boundaries"))]);
|
|
507
504
|
configs$1.push({
|
|
508
505
|
name: "fsd/layers-slices",
|
package/package.json
CHANGED