@paperless/conventions 3.6.0 → 3.6.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.6.1](https://github.com/Employes/Paperless/compare/v3.6.0...v3.6.1) (2026-03-19)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **conventions:** Make sure dir path is correct for eslint ([c722c63](https://github.com/Employes/Paperless/commit/c722c63ce5d46ca4e6fc6c1569c5b475ed96adc3))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.6.0](https://github.com/Employes/Paperless/compare/v3.5.1...v3.6.0) (2026-03-18)
7
18
 
8
19
  **Note:** Version bump only for package @paperless/conventions
package/eslint.config.js CHANGED
@@ -2,7 +2,6 @@ import eslint from '@eslint/js';
2
2
  import nxPlugin from '@nx/eslint-plugin';
3
3
  import earlyReturnPlugin from '@regru/eslint-plugin-prefer-early-return';
4
4
  import angularPlugin from 'angular-eslint';
5
- import { defineConfig } from 'eslint/config';
6
5
  import eslintPluginBetterTailwindcss from 'eslint-plugin-better-tailwindcss';
7
6
  import importPlugin from 'eslint-plugin-import';
8
7
  import jsoncPlugin from 'eslint-plugin-jsonc';
@@ -12,7 +11,7 @@ import unicornPlugin from 'eslint-plugin-unicorn';
12
11
  import globals from 'globals';
13
12
  import typescriptPlugin from 'typescript-eslint';
14
13
 
15
- export default defineConfig([
14
+ export const config = rootDir => [
16
15
  eslint.configs.recommended,
17
16
  prettierPlugin,
18
17
  ...jsoncPlugin.configs['flat/recommended-with-json'],
@@ -100,6 +99,10 @@ export default defineConfig([
100
99
  files: ['**/*.{ts,tsx,cts,mts}'],
101
100
  languageOptions: {
102
101
  parser: typescriptPlugin.parser,
102
+ parserOptions: {
103
+ project: true,
104
+ tsconfigRootDir: rootDir,
105
+ },
103
106
  },
104
107
  },
105
108
  {
@@ -130,6 +133,13 @@ export default defineConfig([
130
133
  typescriptPlugin.configs.stylistic,
131
134
  angularPlugin.configs.tsRecommended,
132
135
  ],
136
+ languageOptions: {
137
+ parser: typescriptPlugin.parser,
138
+ parserOptions: {
139
+ project: true,
140
+ tsconfigRootDir: rootDir,
141
+ },
142
+ },
133
143
  processor: angularPlugin.processInlineTemplates,
134
144
  rules: {
135
145
  '@angular-eslint/prefer-inject': 'warn',
@@ -178,4 +188,4 @@ export default defineConfig([
178
188
  ],
179
189
  },
180
190
  },
181
- ]);
191
+ ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@paperless/conventions",
3
3
  "description": "Paperless eslint, typescript & prettier recommended configuration",
4
- "version": "3.6.0",
4
+ "version": "3.6.1",
5
5
  "license": "ISC",
6
6
  "type": "module",
7
7
  "publishConfig": {