# Home

eslint-plugin-wxml

npm version CI GitHub license PRs Welcome Twitter Follow Author

# A ESLint (opens new window) plugin to lint wxml (opens new window) files.

This plugin allows us to check the .wxml files with ESLint, finds wxml and wxs(inline) syntax errors and some wxml style check.

ESLint editor integrations are useful to check your code in real-time.

# Show Case

vscode eslint-plugin-wxml

# For VSCode User

create .vscode folder and settings.json file, add wxml in eslint.validate config.

.vscode/
  settings.json

add .wxml for eslint

{
  "eslint.validate": [
    "javascript",
    "javascriptreact",
+    "wxml"
  ]
}

# For Webstorm User

Version must >= 2021.1, please read Webstorm 2021.1 release log (opens new window)

webstorm eslint

Add wxml in Run for files config !!!

# 🚥 Versioning policy

This plugin is following Semantic Versioning (opens new window) and ESLint's Semantic Versioning Policy (opens new window).

# 📰 Changelog

We are using GitHub Releases (opens new window).

# 🔒 License

See the LICENSE (opens new window) file for license rights and limitations (MIT).