eslint-plugin-no-func-space
v0.0.4
Published
custom eslint rules, no space between 'function' and '()'.
Downloads
11
Maintainers
Readme
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