0.5.9 • Published 7 years ago

lightscript-eslint v0.5.9

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

lightscript-eslint

lightscript-eslint is a fork of babel-eslint that parses code with babylon-lightscript and babel-plugin-lightscript.

Any file that includes .lsc or .lsx in the filename (including, eg, .lsc.js) will be processed with the LightScript compiler; all others will be processed exactly as in babel-eslint.

To use, just npm install --save-dev lightscript-eslint and add parser: "lightscript-eslint" to your .eslintrc.

Testing so far has been limited; this is very much alpha software and it may not work well. So far, it is has seen limited use with the following configuration:

{
  "parser": "lightscript-eslint",
  "plugins": [
    "react"
  ],
  "extends": [
    "eslint:recommended",
    "plugin:react/recommended"
  ],
  "env": {
    "browser": true,
    "node": true,
    "es6": true
  },
  "rules": {
    "semi": ["error", "never"],
    "react/require-render-return": 0
  }
}
0.5.9

7 years ago

0.5.8

7 years ago

0.5.7

7 years ago

0.5.6

7 years ago

0.5.5

7 years ago

0.5.3

7 years ago

0.5.2

7 years ago

0.5.1

7 years ago

0.4.2

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago