I'm not quite sure where to begin on providing triage up front for this one. I have a mixed project, where both ESLint (latest) and TSLint (latest) exist. Prettier is installed (latest) and works great with on the JavaScript files in the project, formats as expected on save. However, Prettier seemingly does nothing on the TypeScript files in the project. No errors, no warnings, no formatting on save.
I searched the issues here and couldn't find anything related. I did find one that had to do with out of date dependencies, but I'm up to date. I'm a bit baffled.
Atom version: 1.28.2
prettier-atom version: 0.54.0
prettier: bundled
prettier version: 1.13.4
prettier-eslint version: 8.8.1
prettier-atom configuration: {
"useEslint": false,
"useStylelint": false,
"useEditorConfig": true,
"formatOnSaveOptions": {
"enabled": false,
"respectEslintignore": true,
"showInStatusBar": false,
"excludedGlobs": [],
"whitelistedGlobs": [],
"isDisabledIfNotInPackageJson": false,
"isDisabledIfNoConfigFile": false
},
"prettierOptions": {
"singleQuote": false,
"bracketSpacing": true,
"semi": true,
"useTabs": false,
"jsxBracketSameLine": false,
"printWidth": 80,
"tabWidth": "auto",
"trailingComma": "none",
"parser": "babylon",
"arrowParens": "avoid"
},
"prettierEslintOptions": {
"prettierLast": false
},
"scopes": {
"javascript": [
"source.js",
"source.jsx",
"source.js.jsx",
"source.babel",
"source.js-semantic",
"text.html.basic",
"text.html.vue"
],
"typescript": [
"source.ts",
"source.tsx",
"source.ts.tsx"
],
"css": [
"source.css",
"source.less",
"source.css.less",
"source.scss",
"source.css.scss",
"source.css.postcss"
],
"json": [
"source.json"
],
"graphQl": [
"source.graphql"
],
"markdown": [
"source.md",
"source.gfm",
"text.md"
],
"vue": [
"text.html.vue"
]
}
}
I'm not quite sure where to begin on providing triage up front for this one. I have a mixed project, where both ESLint (latest) and TSLint (latest) exist. Prettier is installed (latest) and works great with on the JavaScript files in the project, formats as expected on save. However, Prettier seemingly does nothing on the TypeScript files in the project. No errors, no warnings, no formatting on save.
I searched the issues here and couldn't find anything related. I did find one that had to do with out of date dependencies, but I'm up to date. I'm a bit baffled.
Prettier:DebugOutput: