Skip to content

Less codebase moved to ES2015 syntax #32

Closed

Description

@matthew-dean

Just FYI, I converted the Less codebase to ES2015 syntax using lebab, and then it's being compiled for distribution for Node / browser / and CLI. It doesn't give a lot off the bat other than future-proofing, and making the code less verbose in a number of places (not having to write Foo.prototype.method over and over per node).

I also added a TS linting plugin in with ESLint. If we can add more JSDoc blocks to classes, functions, and vars, it would also make the code more robust and would give more IDE hinting for development.

Anyway, this was a big change, not feature-wise, just in number of lines affected, so I released it as a beta for now. If you get a chance, please check it out and see if I missed anything. Obviously all the tests checked out (other than the random PhantomJS timeouts, which I incidentally also improved.)

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

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