@mslmio/eslint-config 1.2.0 → 2.0.0

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.
Files changed (3) hide show
  1. package/README.md +0 -7
  2. package/index.js +0 -8
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -78,13 +78,6 @@ A file's namespace is its top-level directory under that root, so neither the pa
78
78
  checked out at nor the package's own name changes the verdict. Outside a workspace there is no root,
79
79
  and a scoped package's scope is its namespace.
80
80
 
81
- ## Ignores
82
-
83
- `house`, and so every preset, globally ignores `.design-sync/**`, `.ds-sync/**` and
84
- `ds-bundle/**`. Flat config does not read `.gitignore`, and these hold symlinks into app
85
- components — one moved component leaves a dangling link and `eslint .` exits `ENOENT` instead of
86
- reporting anything.
87
-
88
81
  ## License
89
82
 
90
83
  MIT
package/index.js CHANGED
@@ -4,13 +4,6 @@ import tsPlugin from "@typescript-eslint/eslint-plugin";
4
4
 
5
5
  const TS_GLOBS = ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.js", "**/*.mjs"];
6
6
 
7
- // design-sync scratch and its generated bundle. All three are gitignored, and `ds-src` holds
8
- // symlinks that dangle the moment a component moves - which makes `eslint .` exit on ENOENT
9
- // rather than report. Flat config does not read .gitignore, so every consumer needs this.
10
- export const designSyncIgnores = {
11
- ignores: [".design-sync/**", ".ds-sync/**", "ds-bundle/**"],
12
- };
13
-
14
7
  // The @typescript-eslint rule set. Without this the parser parses TypeScript and
15
8
  // NOTHING lints it - no unused vars, no floating promises, no unsafe any. The rules
16
9
  // go in `house` (so every consumer gets them) while the PARSER stays out of it, since
@@ -42,7 +35,6 @@ typescriptRules.push({
42
35
 
43
36
  // Every rule here encodes a documented house rule. Adding one means editing
44
37
  export const house = [
45
- designSyncIgnores,
46
38
  ...typescriptRules,
47
39
  {
48
40
  files: TS_GLOBS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mslmio/eslint-config",
3
- "version": "1.2.0",
3
+ "version": "2.0.0",
4
4
  "description": "Shareable ESLint flat config and house rules: US spelling, library hygiene, workspace layering, and Tailwind/React conventions.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -9,7 +9,7 @@
9
9
  "eslint-plugin",
10
10
  "flat-config",
11
11
  "typescript",
12
- "monorepo",
12
+ "workspace",
13
13
  "layering",
14
14
  "tailwind",
15
15
  "react"