[Pkg-javascript-commits] [backbone] 86/173: Add ESLint rule: quote-props (warning)
Jonas Smedegaard
dr at jones.dk
Wed Aug 31 07:44:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository backbone.
commit c54ce3b4cdd0e93f8c72d55cb89cbdffa24c53d4
Author: Jordan Eldredge <jordan at jordaneldredge.com>
Date: Tue Dec 15 23:00:01 2015 -0800
Add ESLint rule: quote-props (warning)
We only hit this warning it one place, but one of the keys is `'delete'`, so
which is a protected word, so I think it makes sense to leave it quoted.
---
.eslintrc | 1 +
1 file changed, 1 insertion(+)
diff --git a/.eslintrc b/.eslintrc
index 2aad968..7088bbb 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -67,6 +67,7 @@
"no-unreachable": 2,
"no-with": 2,
"object-curly-spacing": [2, "never"],
+ "quote-props": [1, "consistent-as-needed"],
"quotes": [2, "single", "avoid-escape"],
"radix": 2,
"semi": 2,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/backbone.git
More information about the Pkg-javascript-commits
mailing list