Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Rewrite in ES2017 #7

Merged
merged 4 commits into from
Dec 7, 2016
Merged

Rewrite in ES2017 #7

merged 4 commits into from
Dec 7, 2016

Conversation

Arcanemagus
Copy link
Member

@Arcanemagus Arcanemagus commented Dec 7, 2016

Rewrite in ES2017

Includes several fixes/updates, such as:

  • Rename the option to executablePath to match all the other linter providers
  • Move to a configSchema so Atom doesn't have to execute the code to know what the configuration options are
  • Utilize activationHooks so the package is only active when the language is being used
  • Automatically install linter and language-moonscript, ensuring a basic working "out of the box"
  • Utilize rangeFromLineNumber to generate cleaner ranges by default
  • Move to atom-linter for execution, bringing with it several fixes
  • Use ESLint for linting the code itself
  • Handle a race condition if the file is modified after the lint was triggered

Fixes #1.
Fixes #4.

Primarily just to force EoL to be LF in this repo for further commits.
Just testing whether it can handle a file with no issues, standard lint
messages, and a file with a parse error.
Includes several fixes/updates, such as:

* Rename the option to `executablePath` to match all the other linter providers
* Move to a `configSchema` so Atom doesn't have to execute the code to
  know what the configuration options are
* Utilize `activationHooks` so the package is only active when the
  language is being used
* Automatically install `linter` and `language-moonscript`, ensuring a
  basic working "out of the box"
* Utilize `rangeFromLineNumber` to generate cleaner ranges by default
* Move to `atom-linter` for execution, bringing with it several fixes
* Use ESLint for linting the code itself
* Handle a race condition if the file is modified after the lint was
  triggered
@Arcanemagus Arcanemagus merged commit 7cf3595 into master Dec 7, 2016
@Arcanemagus Arcanemagus deleted the arcanemagus/es2017-rewrite branch December 7, 2016 19:17
@Arcanemagus
Copy link
Member Author

Oh and for future reference, the new regex was tested here: https://regex101.com/r/gRk1IA/1

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

Successfully merging this pull request may close these issues.

Implement specs Use helper module
1 participant