Skip to content

Jxck/eslint-plugin-no-func-space

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

"custom eslint rules, no space between 'function' and '()'."

Resources

Stars

Watchers

Forks

Packages

No packages published