diff options
author | Valentin Popov <info@valentineus.link> | 2020-02-13 14:09:56 +0300 |
---|---|---|
committer | Valentin Popov <info@valentineus.link> | 2020-02-13 14:09:56 +0300 |
commit | b47b3caba54c7594ab4f72643b59ff0111baba07 (patch) | |
tree | 5c1d04b5b1bba47b9b95900e646a85d7a695c0cc /src | |
parent | 0e39bae754d08070a88064579a2ecea33e38a655 (diff) | |
download | eslint-config-b47b3caba54c7594ab4f72643b59ff0111baba07.tar.xz eslint-config-b47b3caba54c7594ab4f72643b59ff0111baba07.zip |
feat(eslint): Rule "quote-props"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r-- | src/rules/eslint.json | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/rules/eslint.json b/src/rules/eslint.json index de8c64a..a3ec9cd 100644 --- a/src/rules/eslint.json +++ b/src/rules/eslint.json @@ -63,6 +63,15 @@ "prefer-reflect": [ "off" ], + "quote-props": [ + "error", + "consistent-as-needed", + { + "keywords": true, + "numbers": true, + "unnecessary": true + } + ], "require-jsdoc": [ "off" ], |