eslint-config-narazaka
v1.0.1
Published
a strict eslint config
Downloads
6
Readme
eslint-config-narazaka
a strict eslint config
like below
const hash = {
a: "a",
bbb: "b",
};
export class MyClass extends BaseClass {
/**
* foo
* @param {number} arg1 arg 1
* @return {string} foo
*/
foo(arg1) {
if (arg1 > this.baz()) {
const bar = this.bar(); // bar
return `${bar} ${arg1}`;
} else {
return this.isBar() ? hash.a : hash.bbb;
}
}
}
Usage
npm install --save-dev eslint-config-narazaka
write .eslintrc
{
"extends": "narazaka"
}
License
This is released under MIT License.