@siemens/prettier-config 1.0.0 → 1.0.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/README.md +3 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ export default typescriptEslint.config({
|
|
|
59
59
|
files: ['**/*.ts'],
|
|
60
60
|
languageOptions: {
|
|
61
61
|
parserOptions: {
|
|
62
|
-
project: ['tsconfig.json', 'tsconfig.app.json', 'tsconfig.spec.json', 'e2e/tsconfig.json']
|
|
62
|
+
project: ['tsconfig.json', 'tsconfig.app.json', 'tsconfig.spec.json', 'e2e/tsconfig.json'],
|
|
63
63
|
tsconfigRootDir: __dirname
|
|
64
64
|
}
|
|
65
65
|
}
|
|
@@ -80,6 +80,7 @@ import { fileURLToPath } from 'url';
|
|
|
80
80
|
import typescriptEslint from 'typescript-eslint';
|
|
81
81
|
import angularTypescriptConfig from '@siemens/eslint-config-angular';
|
|
82
82
|
import angularTemplateConfig from '@siemens/eslint-config-angular/template';
|
|
83
|
+
import prettier from 'eslint-config-prettier';
|
|
83
84
|
|
|
84
85
|
// mimic CommonJS variables
|
|
85
86
|
const __filename = fileURLToPath(import.meta.url);
|
|
@@ -90,7 +91,7 @@ export const tsConfig = typescriptEslint.config({
|
|
|
90
91
|
files: ['**/*.ts'],
|
|
91
92
|
languageOptions: {
|
|
92
93
|
parserOptions: {
|
|
93
|
-
project: ['tsconfig.json', 'tsconfig.app.json', 'tsconfig.spec.json', 'e2e/tsconfig.json']
|
|
94
|
+
project: ['tsconfig.json', 'tsconfig.app.json', 'tsconfig.spec.json', 'e2e/tsconfig.json'],
|
|
94
95
|
tsconfigRootDir: __dirname
|
|
95
96
|
}
|
|
96
97
|
},
|