From cd3c06cdc7f62cd5017311eea3277bec9dd02542 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Thu, 28 Jul 2016 10:19:35 -0600 Subject: Adding a eslintrc.json file for custom rules --- eslintrc.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 eslintrc.json (limited to 'eslintrc.json') diff --git a/eslintrc.json b/eslintrc.json new file mode 100644 index 0000000..289e875 --- /dev/null +++ b/eslintrc.json @@ -0,0 +1,19 @@ +{ + "extends": "airbnb", + "rules": { + "no-undef": 0, + "prefer-arrow-callback": 0, + "no-console": 0, + "require-jsdoc": ["error", { + "require": { + "FunctionDeclaration": true, + "MethodDefinition": false, + "ClassDeclaration": false + } + }], + "valid-jsdoc": ["error", { + "requireParamDescription": true, + "requireReturn": false + }] + } +} -- cgit v1.2.3