diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-15 20:05:35 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-15 21:40:59 -0800 |
commit | 067cab4cdc5f4d2aa268adffb7d111c3a04e46f0 (patch) | |
tree | 1f30a079634abfc1d1e327ddde5af99afd5239a0 /js/eslint.json | |
parent | aedb6ca8cffca7270700aaddcf82bf616030893c (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.json | 1 |
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, |