1.0.4 • Published 3 months ago

eslint-plugin-espruino-constraints v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
3 months ago

eslint-plugin-espruino-constraints

This repository contains sources for eslint plugin with constraints of espruino platform. This plugin will help you to avoid some errors.

NPM Link

This package is a part of utilities for development for espruino platform. Learn more

Rules

  • No labels
  • No isSealed, isFrozen, isExtensible object methods
  • No seal, freeze, preventExtensions object methods
  • No propertyIsEnumerable object method
  • No lastIndexOf array and string method
  • No unicode strings

Installation

Install this utility with npm

  npm install -D eslint-plugin-espruino-constraints

Usage/Examples

// .eslintrc.json
{"plugins": [
    ...,
    "espruino-constraints"
], // add plugin to config
"rules": {
    "espruino-constraints/no-unicode-strings": "error"
}} // set rules

Contributing

Contributions are always welcome!

You can help to improve types coverage through MR (please use prettier config).

1.0.4

3 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago