eslint-plugin-no-extension-in-require

0.2.0 • Public • Published

Usage

To use this plugin with ESLint:

  1. Ensure the plugin is loaded, e.g. by adding the following to your .eslintrc file:
"plugins": [
  "no-extension-in-require"
]
  1. Enable the rule in your ESLint configuration, e.g.:
"rules": {
  "no-extension-in-require/main": 2
}

See the ESLint documentation for more information.

Package Sidebar

Install

npm i eslint-plugin-no-extension-in-require

Weekly Downloads

1,312

Version

0.2.0

License

MIT

Last publish

Collaborators

  • dubroy