Skip to content

.eslintrc files aren't remembered as JSON #13432

@core-ai-bot

Description

@core-ai-bot

Issue by iskitz
Sunday Nov 01, 2015 at 16:20 GMT
Originally opened as adobe/brackets#11883


Adding a specific fileExtension:language map doesn't help Brackets remember .eslintrc files as having JSON content. Clicking "Set as Default for . Files" from the language picker for these files after manually setting their language to JSON only creates a blank entry in brackets.json

"language.fileExtensions":
    { ""        : "json"
    , "eslintrc": "json"
    }

@sprintr's Pull Request #11560 (4bdaaff) seems to possibly address this. Any idea when that or any other solution for this will land?

Thanks!
Mike

Environment Info
Brackets Release 1.5 build 1.5.0-16538 (release cf9cf4698)
... build timestamp: Wed Oct 14 2015 04:40:12 GMT-0700
Mac OS X Yosemite 10.10.5

Update: Manually adding a fileNames:language map with .eslintrc as the fileName works but I'm still hoping for an official fix so I won't have to keep doing this for each .dotfile 😉

"language.fileNames":
    { ".eslintrc": "json"
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions