Using editor preferences
See original GitHub issueUpdating to prettier-atom@0.50.0
I’ve noticed my editor preference for single quotes isn’t being respected. It’s formatting everything to be double quotes.
I’m only using prettier
, and have the eslint
integration disabled. I do have an eslint config, but that also is set to use single quotes.
I’m guessing this may be a result of #374?
Atom version: 1.23.3
prettier-atom version: 0.50.0
prettier version: 1.10.2
prettier-eslint version: 8.8.1
prettier-atom configuration: {
"formatOnSaveOptions": {
"enabled": true,
"excludedGlobs": [
"package.json"
],
"respectEslintignore": true,
"showInStatusBar": false,
"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",
"source.css.postcss"
],
"jsonScopes": [
"source.json"
],
"graphQlScopes": [
"source.graphql"
],
"markdownScopes": [
"source.md",
"source.gfm",
"text.md"
],
"vueScopes": [
"text.html.vue"
],
"whitelistedGlobs": [],
"isDisabledIfNotInPackageJson": false,
"isDisabledIfNoConfigFile": false
},
"prettierOptions": {
"arrowParens": "always",
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"semi": true,
"useTabs": false,
"jsxBracketSameLine": false,
"printWidth": 80,
"tabWidth": "auto",
"parser": "babylon"
},
"silenceErrors": false,
"useEslint": false,
"useStylelint": false,
"useEditorConfig": true,
"prettierEslintOptions": {
"prettierLast": false
}
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Editor Preferences - Unreal Engine Documentation
The Editor Preferences window is used to modify settings that control the behavior of Unreal Editor with respect to controls, viewports, source control,...
Read more >Useful Editor Preferences - ben ui
Useful Editor Preferences. Unreal separates settings into two parts: Project Settings and Editor Preferences. Project Settings are shared ...
Read more >General editor preferences - IBM
From the editor: right-click and select Preferences. Setting colors and fonts. Use the Colors and Fonts preference to set the default font for...
Read more >Editor preferences | Unreal Engine 4 Game Development ...
Back in the main editor window, if you go to Edit | Editor Preferences (near the bottom), you will see options to customize...
Read more >EditorConfig settings - Visual Studio (Windows) - Microsoft Learn
You can still set your own personal editor preferences in the Visual Studio Options dialog box. Those settings apply whenever you're working in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ah gotcha.
I don’t know what’s causing it yet. The good news is I can reproduce which is always the hardest part haha. I’ll let you know what I find.
Thanks all for the detailed information. Glad I could help ☺️