eslint-plugin-no-func-space

0.0.4 • Public • Published

eslint-plugin-no-func-space

custom ESLint rule, ckeck function/*no space here!!*/()

Rule Details

The following patterns are considered warnings:

var a = function (){}
var a = function () {}
(function () {})()
(function () {}())

The following patterns are not warnings:

var a = function(){}
var a = function() {}
(function() {})()
(function() {}())

Usage

plugins:
  - no-func-space
 
rules:
  # Plugins 
  no-func-space/no-func-space : 2

License

MIT

Package Sidebar

Install

npm i eslint-plugin-no-func-space

Weekly Downloads

2

Version

0.0.4

License

MIT

Last publish

Collaborators

  • jxck