[*.ts]
quote_type = single
With this rule, I assume that prettier-atom will format string literals with single quotes on typescript files, but that's not happening.
Atom version: 1.21.1
prettier-atom version: 0.40.0
prettier version: 1.7.0
prettier-eslint version: 8.1.1
prettier-atom configuration: {
"formatOnSaveOptions": {
"showInStatusBar": true,
"enabled": false,
"respectEslintignore": true,
"javascriptScopes": [
"source.js",
"source.jsx",
"source.js.jsx",
"source.babel",
"source.js-semantic",
"text.html.basic",
"text.html.vue"
],
"typescriptScopes": [
"source.ts",
"source.tsx",
"source.ts.tsx"
],
"cssScopes": [
"source.css",
"source.less",
"source.css.less",
"source.scss",
"source.css.scss"
],
"jsonScopes": [
"source.json"
],
"graphQlScopes": [
"source.graphql"
],
"excludedGlobs": [],
"whitelistedGlobs": [],
"isDisabledIfNotInPackageJson": false,
"isDisabledIfNoConfigFile": false
},
"prettierOptions": {
"printWidth": 100,
"singleQuote": false,
"bracketSpacing": true,
"semi": true,
"useTabs": false,
"jsxBracketSameLine": false,
"tabWidth": "auto",
"trailingComma": "none",
"parser": "babylon"
},
"useEslint": false,
"useEditorConfig": true,
"prettierEslintOptions": {
"prettierLast": false
}
}
I checked
EditorConfig Integrationto work with .editorconfig file, which has:With this rule, I assume that prettier-atom will format string literals with single quotes on typescript files, but that's not happening.
This is my prettier-debug output:
Does prettier-atom settings have more priority than .editorconfig rules ?