https://github.com/darahak/eslint-plugin-ignore-native-decl
Preprocess JavaScript files to ignore forward declarations that use the native function notation for V8 extensions.
https://github.com/darahak/eslint-plugin-ignore-native-decl
eslint eslint-plugin extension functions native v8
Last synced: 3 months ago
JSON representation
Preprocess JavaScript files to ignore forward declarations that use the native function notation for V8 extensions.
- Host: GitHub
- URL: https://github.com/darahak/eslint-plugin-ignore-native-decl
- Owner: darahak
- License: mit
- Created: 2017-02-28T23:25:24.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-10-16T01:06:37.000Z (almost 5 years ago)
- Last Synced: 2024-12-28T09:15:38.816Z (over 1 year ago)
- Topics: eslint, eslint-plugin, extension, functions, native, v8
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/eslint-plugin-ignore-native-decl
- Size: 298 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/eslint-plugin-ignore-native-decl)
[](https://codecov.io/gh/darahak/eslint-plugin-ignore-native-decl)
[](https://github.com/prettier/prettier)
[](https://raw.githubusercontent.com/darahak/eslint-plugin-ignore-native-decl/master/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](https://github.com/adobe/brackets-shell/wiki/Writing-V8-Extensions).
## Installation
You'll first need to install [ESLint](http://eslint.org):
```bash
npm install eslint --save-dev
```
Next, install `eslint-plugin-ignore-native-decl`:
```bash
npm install eslint-plugin-ignore-native-decl --save-dev
```
You can also use [Yarn](https://yarnpkg.com/en/):
```bash
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:
```json
{
"plugins": ["ignore-native-decl"]
}
```