Sha256: 4dcc57e693cf4858a6059aabe37a9ba0b71508d04bd380fec91a97cef2dee06c

Contents?: true

Size: 1.56 KB

Versions: 7

Compression:

Stored size: 1.56 KB

Contents

# eslint-utils

[![npm version](https://img.shields.io/npm/v/eslint-utils.svg)](https://www.npmjs.com/package/eslint-utils)
[![Downloads/month](https://img.shields.io/npm/dm/eslint-utils.svg)](http://www.npmtrends.com/eslint-utils)
[![Build Status](https://github.com/mysticatea/eslint-utils/workflows/CI/badge.svg)](https://github.com/mysticatea/eslint-utils/actions)
[![Coverage Status](https://codecov.io/gh/mysticatea/eslint-utils/branch/master/graph/badge.svg)](https://codecov.io/gh/mysticatea/eslint-utils)
[![Dependency Status](https://david-dm.org/mysticatea/eslint-utils.svg)](https://david-dm.org/mysticatea/eslint-utils)

## 🏁 Goal

This package provides utility functions and classes for make ESLint custom rules.

For examples:

- [getStaticValue](https://eslint-utils.mysticatea.dev/api/ast-utils.html#getstaticvalue) evaluates static value on AST.
- [ReferenceTracker](https://eslint-utils.mysticatea.dev/api/scope-utils.html#referencetracker-class) checks the members of modules/globals as handling assignments and destructuring.

## 📖 Usage

See [documentation](https://eslint-utils.mysticatea.dev/).

## 📰 Changelog

See [releases](https://github.com/mysticatea/eslint-utils/releases).

## ❤️ Contributing

Welcome contributing!

Please use GitHub's Issues/PRs.

### Development Tools

- `npm test` runs tests and measures coverage.
- `npm run clean` removes the coverage result of `npm test` command.
- `npm run coverage` shows the coverage result of the last `npm test` command.
- `npm run lint` runs ESLint.
- `npm run watch` runs tests on each file change.

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-0.26.8 packages/eslint-config/node_modules/eslint-utils/README.md
decidim-0.27.1 packages/webpacker/node_modules/eslint-utils/README.md
decidim-0.26.4 packages/webpacker/node_modules/eslint-utils/README.md
decidim-0.27.0 packages/webpacker/node_modules/eslint-utils/README.md
decidim-0.26.3 packages/webpacker/node_modules/eslint-utils/README.md
decidim-0.27.0.rc2 packages/webpacker/node_modules/eslint-utils/README.md
decidim-0.27.0.rc1 packages/webpacker/node_modules/eslint-utils/README.md