summaryrefslogtreecommitdiff
path: root/js/eslint.json
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-01-15 20:05:35 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-01-15 21:40:59 -0800
commit067cab4cdc5f4d2aa268adffb7d111c3a04e46f0 (patch)
tree1f30a079634abfc1d1e327ddde5af99afd5239a0 /js/eslint.json
parentaedb6ca8cffca7270700aaddcf82bf616030893c (diff)
Provide getters and setters for public properties of Node.
Everything else gets a name starting with an underscore and will be considered private. This will allow us to keep the API stable while changing the underlying data structure. And it will avoid exposing properties that have only an instrumental value in parsing.
Diffstat (limited to 'js/eslint.json')
-rw-r--r--js/eslint.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/eslint.json b/js/eslint.json
index b3af4fe..224cf3e 100644
--- a/js/eslint.json
+++ b/js/eslint.json
@@ -4,6 +4,7 @@
"node": true,
},
"rules": {
+ "no-underscore-dangle": false,
"camelcase": false,
"quotes": false,
"no-process-exit": false,