1.1.11 • Published 1 year ago

eslint-plugin-jest-lazy v1.1.11

Weekly downloads
12
License
MIT
Repository
github
Last release
1 year ago

Why

As we can see at https://github.com/jest-community/eslint-plugin-jest/blob/master/docs/rules/no-alias-methods.md, original name is longer for most methods.

Since shorter name improve readability (if possible to understand meaning), this rule will help us to use shorter name.

module.exports = {
  plugins: ['jest', 'jest-lazy'],
  extends: ['plugin:jest/recommended'],
  rules: {
    /**
     * https://github.com/jest-community/eslint-plugin-jest/blob/master/docs/rules/no-alias-methods.md
     */
    'jest/no-alias-methods': 0,
    'jest-lazy/prefer-short-names': 2,
  },
}

Acknowledgement

The most part of the code of this plugin is copied from eslint-plugin-jest.

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago