Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

add support for universal (language independent) code inspector - #13153

Merged
zaggino merged 1 commit into
masterfrom
zaggino/universal-linter
Mar 10, 2017
Merged

zaggino merged 1 commit into
masterfrom
zaggino/universal-linter

Conversation

@zaggino

@zaggino zaggino commented Mar 7, 2017

Copy link
Copy Markdown
Contributor

Hi guys, need this for brackets-userland/brackets-eslint#54

Basically, eslint can be configured to lint any file extension through plugins (.vue in this case) and there're methods to check if a file path is lintable with the current eslint configuration, but to get there I need to be able to register the linter as language independent one which would be invoked for all potential files.

The change to Brackets is I believe quite trivial, also added a test-case.

@petetnt

petetnt commented Mar 7, 2017

Copy link
Copy Markdown
Collaborator

Didn't test this myself, but the change set LGTM.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants