LivelyKernel / lively4-core

A Self-supporting, Web-based Development Environment
https://lively-kernel.org/lively4/lively4-core/start.html
MIT License
76 stars 25 forks source link

lint support for our syntax #293

Open JensLincke opened 6 years ago

JensLincke commented 6 years ago

Problem foo::bar() is marked as an parsing error by eslint's esprima parser.

We should can plugin a custom parser that behaves like esprima, e.g. babe-eslint.

But this packag requires Babel7.

  "dependencies": {
    "@babel/code-frame": "7.0.0-beta.36",
    "@babel/traverse": "7.0.0-beta.36",
    "@babel/types": "7.0.0-beta.36",
    "babylon": "7.0.0-beta.36",
    "eslint-scope": "~3.7.1",
    "eslint-visitor-keys": "^1.0.0"
  },

So should we update eventually? @onsetsu ?

onsetsu commented 6 years ago

We could use this as a spike for babel7.

For the upcoming Programming Experience and Reactive Programming seminars, I would rather use babel6 as main transpiler and then transition completely to babel7 after next semester.

JensLincke commented 5 years ago

duplicated in #279