From c1244d6297f4855ad56ddf437ea6230dde1bdff6 Mon Sep 17 00:00:00 2001 From: zava Date: Sun, 12 Nov 2017 20:07:50 -0300 Subject: [PATCH] updated soliumrc - Solium v1 compatible --- .soliumrc.json | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/.soliumrc.json b/.soliumrc.json index 81876bcd6..1fe9127bd 100644 --- a/.soliumrc.json +++ b/.soliumrc.json @@ -1,22 +1,10 @@ { - "custom-rules-filename": null, + "extends": "solium:all", + "plugins": ["security"], "rules": { - "imports-on-top": true, - "variable-declarations": true, - "array-declarations": true, - "operator-whitespace": true, - "lbrace": true, - "mixedcase": false, - "camelcase": true, - "uppercase": true, - "no-with": true, - "no-empty-blocks": true, - "no-unused-vars": true, - "double-quotes": true, - "blank-lines": true, - "indentation": true, - "whitespace": true, - "deprecated-suicide": true, - "pragma-on-top": true + "indentation": ["error", 2], + "quotes": ["error", "double"], + "security/enforce-explicit-visibility": ["error"], + "security/no-block-members": ["warning", ["timestamp"]] } }