eslint-config-udemy-jasmine-addons

8.0.9 • Public • Published

Udemy ESLint Config for Jasmine

This configuration groups Jasmine specific ESLint rules. It is recommended to be used by any Jasmine codebase developed at Udemy. It is mainly used by eslint-config-udemy-website.

Installation

Install ESLint locally.

$ yarn add eslint --dev

Install the Udemy ESLint Config for Jasmine locally.

$ yarn add eslint-config-udemy-jasmine-addons --dev

Configuration

Add an extends section to your .eslintrc.js and specify udemy-jasmine-addons as an extended configuration. You can additionally adjust rules by overriding them in your rules section.

// At .eslintrc.js

module.exports = {
    'extends': ['udemy-jasmine-addons'],
    rules: {
        'jasmine/valid-expect': 'off',
    },
};

Contributing

See Contributing.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-udemy-jasmine-addons

Weekly Downloads

18

Version

8.0.9

License

MIT

Unpacked Size

11.1 kB

Total Files

7

Last publish

Collaborators

  • jjinux
  • kngroo
  • inancs
  • eedeebee
  • joecan
  • vladimirkopychev-udemy
  • carmen.wick
  • cansin