@jterrazz/typescript 7.1.1 → 7.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jterrazz/typescript",
3
- "version": "7.1.1",
3
+ "version": "7.2.1",
4
4
  "author": "Jean-Baptiste Terrazzoni <contact@jterrazz.com>",
5
5
  "repository": {
6
6
  "type": "git",
@@ -10,6 +10,9 @@ export default defineConfig({
10
10
  bracketSpacing: true,
11
11
  endOfLine: 'lf',
12
12
  /* `typescript docs` writes the byte-for-byte typedoc tree to docs/reference/ —
13
- * formatting it would fight the Docs (sync) pass, so skip it by default. */
14
- ignorePatterns: ['docs/reference'],
13
+ * formatting it would fight the Docs (sync) pass, so skip it by default.
14
+ * Asset trees and build caches are not source either — and a content tree
15
+ * can hold signed bytes (jterrazz-web's attestations), where one formatter
16
+ * pass invalidates every proof. */
17
+ ignorePatterns: ['docs/reference', 'dist/**', 'assets/**', 'public/**', '.next/**', '.expo/**'],
15
18
  });
@@ -9,6 +9,9 @@ export default defineConfig({
9
9
  extends: [base],
10
10
  plugins: ['typescript', 'import', 'react'],
11
11
  jsPlugins: [pluginPath],
12
+ // `.expo/` is the toolchain cache and `assets/` is scaffolded by Expo
13
+ // Itself (icons, splash, fonts) — never source.
14
+ ignorePatterns: ['dist/**', 'node_modules/**', '.expo/**', 'assets/**'],
12
15
  rules: {
13
16
  'typescript/no-require-imports': [
14
17
  'error',
@@ -9,7 +9,17 @@ export default defineConfig({
9
9
  extends: [base],
10
10
  plugins: ['typescript', 'import', 'react', 'nextjs'],
11
11
  jsPlugins: [pluginPath],
12
- ignorePatterns: ['dist/**', 'node_modules/**', '.next/**', 'next-env.d.ts'],
12
+ // `public/` is Next's static dir and `assets/` is the stack's convention
13
+ // For content trees (jterrazz-web: signed attestation bytes live there —
14
+ // A formatter pass would invalidate every proof). Neither is source.
15
+ ignorePatterns: [
16
+ 'dist/**',
17
+ 'node_modules/**',
18
+ '.next/**',
19
+ 'next-env.d.ts',
20
+ 'assets/**',
21
+ 'public/**',
22
+ ],
13
23
  rules: {
14
24
  'codestyle/imports-without-ext': 'error',
15
25
  'react/react-in-jsx-scope': 'off',