UNPKG

eslint-plugin-safeguard

Version:

A custom ESLint plugin that provides multiple rules to enforce best practices and code safety.

10 lines (9 loc) 247 B
import { Rule } from 'eslint'; /** * ESLint rule module that prevents self-assignment (`x = x`) * and self-spreading in arrays (`array.push(...array)`). * * @type {Rule.RuleModule} */ declare const rule: Rule.RuleModule; export default rule;