@betterer/eslint
ESLint test for @betterer/betterer
Last updated 9 days ago by phenomnomnominal .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @betterer/eslint 
SYNC missed versions from official npm registry.

Betterer

@betterer/eslint

npm version

ESLint test for Betterer.

Description

Use this test to incrementally introduce ESLint rules to your codebase

Usage

import { eslintBetterer } from '@betterer/eslint';

export default {
  'no more debuggers': eslintBetterer('./src/**/*.ts', ['no-debugger', 'error'])
};

Skip

Skip a test by calling .skip():

import { eslintBetterer } from '@betterer/eslint';

export default {
  'no more debuggers': eslintBetterer(...).skip()
};

Only

Run a test by itself by calling .only():

import { regexpBetterer } from '@betterer/regexp';

export default {
  'no more debuggers': eslintBetterer(...).only()
};

Exclude

Exclude files from a test by calling .exclude():

import { regexpBetterer } from '@betterer/regexp';

export default {
  'no more debuggers': eslintBetterer(...).exclude(/excluded-file-regexp/)
};

Current Tags

  • 1.1.2                                ...           latest (9 days ago)

22 Versions

  • 1.1.2                                ...           9 days ago
  • 1.1.1                                ...           9 days ago
  • 1.1.0                                ...           10 days ago
  • 1.0.2                                ...           11 days ago
  • 1.0.0                                ...           13 days ago
  • 0.5.2                                ...           5 months ago
  • 0.5.1                                ...           5 months ago
  • 0.5.0                                ...           5 months ago
  • 0.4.1                                ...           5 months ago
  • 0.3.6                                ...           5 months ago
  • 0.4.0                                ...           5 months ago
  • 0.3.8                                ...           5 months ago
  • 0.3.7                                ...           5 months ago
  • 0.3.5                                ...           5 months ago
  • 0.3.4                                ...           6 months ago
  • 0.3.2                                ...           7 months ago
  • 0.3.1                                ...           7 months ago
  • 0.3.0                                ...           7 months ago
  • 0.2.0                                ...           8 months ago
  • 0.1.4                                ...           8 months ago
  • 0.1.3                                ...           8 months ago
  • 0.1.0                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 71
Last Day 0
Last Week 44
Last Month 0
Dependencies (7)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |