eslint-plugin-ignore-native-decl

0.3.0 • Public • Published

npm codecov styled with prettier GitHub license

eslint-plugin-ignore-native-decl

Preprocess JavaScript files to ignore forward declarations that use the native function notation for V8 extensions.
You can find more details on V8 extensions in this wiki article.

Installation

You'll first need to install ESLint:

npm install eslint --save-dev

Next, install eslint-plugin-ignore-native-decl:

npm install eslint-plugin-ignore-native-decl --save-dev

You can also use Yarn:

yarn add eslint --dev
yarn add eslint-plugin-ignore-native-decl --dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-ignore-native-decl globally.

Usage

Add ignore-native-decl to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["ignore-native-decl"]
}

Package Sidebar

Install

npm i eslint-plugin-ignore-native-decl

Weekly Downloads

0

Version

0.3.0

License

MIT

Unpacked Size

6.82 kB

Total Files

20

Last publish

Collaborators

  • darahak