Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Tree sitter and default config #398

@iamphill

Description

@iamphill

The latest version of Atom brought experimental tree sitter support. When enabled, prettier format on save doesn't work. It looks like the grammar names have changed within tree sitter.

I can of course override this & add in the new languages. However when tree sitter eventually becomes default prettier will no longer work out the box.

Details Atom version: 1.25.0 prettier-atom version: 0.52.0 prettier version: 1.11.1 prettier-eslint version: 8.8.1 prettier-atom configuration: { "formatOnSaveOptions": { "enabled": true, "isDisabledIfNoConfigFile": true, "respectEslintignore": true, "showInStatusBar": false, "excludedGlobs": [], "whitelistedGlobs": [], "isDisabledIfNotInPackageJson": false }, "prettierEslintOptions": { "prettierLast": true }, "prettierOptions": { "bracketSpacing": false, "singleQuote": true, "trailingComma": "all", "semi": true, "useTabs": false, "jsxBracketSameLine": false, "printWidth": 80, "tabWidth": "auto", "parser": "babylon", "arrowParens": "avoid" }, "useEslint": false, "useStylelint": false, "useEditorConfig": true, "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" ] } }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions