@tractorbeam/eslint-config 0.1.3 → 0.2.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGrC,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAO9B,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAIrC,eAAO,MAAM,IAAI,EAAE,MAAM,CAAC,MAAM,EAQ9B,CAAC"}
package/dist/base.js CHANGED
@@ -1,7 +1,9 @@
1
1
  import eslint from "@eslint/js";
2
+ import { configs as pluginDependConfigs } from "eslint-plugin-depend";
2
3
  import { defineConfig } from "eslint/config";
3
4
  export const base = defineConfig([
4
5
  eslint.configs.recommended,
6
+ pluginDependConfigs["flat/recommended"],
5
7
  {
6
8
  rules: {
7
9
  "no-nested-ternary": "error",
package/dist/base.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"base.js","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,YAAY,CAAC;AAEhC,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,MAAM,CAAC,MAAM,IAAI,GAAoB,YAAY,CAAC;IAChD,MAAM,CAAC,OAAO,CAAC,WAAW;IAC1B;QACE,KAAK,EAAE;YACL,mBAAmB,EAAE,OAAO;SAC7B;KACF;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"base.js","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,YAAY,CAAC;AAEhC,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,MAAM,CAAC,MAAM,IAAI,GAAoB,YAAY,CAAC;IAChD,MAAM,CAAC,OAAO,CAAC,WAAW;IAC1B,mBAAmB,CAAC,kBAAkB,CAAC;IACvC;QACE,KAAK,EAAE;YACL,mBAAmB,EAAE,OAAO;SAC7B;KACF;CACF,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tractorbeam/eslint-config",
3
- "version": "0.1.3",
3
+ "version": "0.2.1",
4
4
  "description": "Shared ESLint configuration for Tractorbeam projects",
5
5
  "keywords": [
6
6
  "tractorbeam",
@@ -67,6 +67,7 @@
67
67
  "@eslint/js": "^9.39.2",
68
68
  "@tanstack/eslint-plugin-router": "^1.141.0",
69
69
  "eslint-config-prettier": "^10.1.8",
70
+ "eslint-plugin-depend": "^1.4.0",
70
71
  "eslint-plugin-import-lite": "^0.4.0",
71
72
  "eslint-plugin-jsx-a11y": "^6.10.2",
72
73
  "eslint-plugin-playwright": "^2.4.0",
@@ -97,7 +98,6 @@
97
98
  "scripts": {
98
99
  "build": "tsc -p tsconfig.build.json",
99
100
  "clean": "rm -rf dist *.tsbuildinfo",
100
- "postinstall": "pnpm run build",
101
101
  "lint:eslint": "eslint src --max-warnings=0",
102
102
  "lint:types": "tsc --noEmit"
103
103
  }