1.1.4 • Published 9 years ago

eslint-plugin-v8-func-inline v1.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
9 years ago

ESLint-plugin-v8-func-inline

Node.js's V8 optimizer (crankshaft) inlines the functions whose body length, including the comments, is less than 600 characters. This rule finds functions that could possibly be shortened to increase performance while running in V8 (Node.js).

Installation

Install ESLint either locally or globally.

$ npm install eslint

Install the plugin.

$ npm install eslint-plugin-v8-func-inline

Configuration

Add plugins section and specify ESLint-plugin-v8-func-inline as a plugin.

Set the max threshold for characters in your .eslintrc file

rules : {
  "v8-func-inline/v8-func-inline" : [1, 615]
},
plugins: [
  "v8-func-inline"
]

License

ESLint-plugin-v8-func-inline is licensed under the MIT License.

1.1.4

9 years ago

1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago