lightscript-eslint
LightScript parser for ESLint, based on babel-eslint
Last updated 2 years ago by rattrayalex .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install lightscript-eslint 
SYNC missed versions from official npm registry.

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
  }
}

Current Tags

  • 0.5.9                                ...           latest (2 years ago)

14 Versions

  • 0.5.9                                ...           2 years ago
  • 0.5.8                                ...           2 years ago
  • 0.5.7                                ...           2 years ago
  • 0.5.6                                ...           2 years ago
  • 0.5.5                                ...           2 years ago
  • 0.5.3                                ...           2 years ago
  • 0.5.2                                ...           2 years ago
  • 0.5.1                                ...           3 years ago
  • 0.4.2                                ...           3 years ago
  • 0.4.1                                ...           3 years ago
  • 0.4.0                                ...           3 years ago
  • 0.2.2                                ...           3 years ago
  • 0.2.1                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 31
Dependencies (10)
Dev Dependencies (7)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |