1.1.6 • Published 22 days ago

eslint-plugin-spaces v1.1.6

Weekly downloads
100
License
ISC
Repository
-
Last release
22 days ago

More spaces!

const something = []
const obj = {
  fnExp1() {},
  fnExp2( a ) {},
  fnExp3: a => {},
}



const arrow_params = ({ abc },  a) => true
const arrow_obj = ({ abc }) => true
const arrow_empty = () => true
const arrow_var = a => true
const arrow = (a, b) => true



function * fnGen( a, b, { c } ) {}
function fnObj({ c }) {}
function fn( a, b, { c } ) {}



fnObj({ c:3 })
fn( 1, 2, { c:3 } )
fn( 1, 2, something[ 2 ] )
something.method( 123 )



if (something[ 0 ]);
if (arrow());

for (const value of [ 1, 2, 3 ]);
for (const value in {});
for (let i = 0;  i < 1;  ++i);

while (false);



class X {
  method1( a, { c } ) {}
  method2({ c }) {}
  method3 = a => {}
}
1.1.6

22 days ago

1.1.1

6 months ago

1.1.0

6 months ago

1.1.5

6 months ago

1.1.4

6 months ago

1.1.3

6 months ago

1.1.2

6 months ago

1.0.0

2 years ago

0.2.0

2 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago