# wxml/report-wxs-syntax-error
# Backgroud
wxs
eslint-plugin-wxml
using expree
(use local node_modules eslint's builtin espree) to parse inline wxs, but espree
not support recovery mode
, so maybe it's parse error will make you feel confused.
# Motivation
hint wxs(inline)
syntax error in development time, save developer's time.
<wxs module="util" >
funcytion ss () {
}
</wxs>
💡 tips
You can edit code via online editor, it's online REPL, try to fix eslint problem !
# Config
No special options, normal config is ok
{ "wxml/report-wxs-syntax-error": "error" }
# Version
This rule was introduced in eslint-plugin-wxml v0.2.1