0.3.0 • Published 6 years ago
eslint-plugin-ignore-native-decl v0.3.0
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-devNext, install eslint-plugin-ignore-native-decl:
npm install eslint-plugin-ignore-native-decl --save-devYou can also use Yarn:
yarn add eslint --dev
yarn add eslint-plugin-ignore-native-decl --devNote: 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"]
}