<NME> .eslintrc.js
<BEF> ADDFILE
<MSG> lint: Add first draft of my global eslint config.

<DFF> @@ -0,0 +1,115 @@
+module.exports = {
+  "parserOptions": {
+    "ecmaVersion": 6,
+    "ecmaFeatures": {
+      "jsx": true
+    },
+    "sourceType": "module"
+  },
+  "env": {
+    "browser": true,
+    "es6": true,
+    "node": true
+  },
+  "plugins": [
+    "react"
+  ],
+  "rules": {
+    "accessor-pairs": 2,
+    "arrow-parens": [1, "always"],
+    "arrow-spacing": [1, { "before": true, "after": true }],
+    "block-spacing": [1, "always"],
+    "brace-style": [2, "1tbs", { "allowSingleLine": true }],
+    "comma-dangle": [1, "never"],
+    "comma-spacing": [1, { "before": false, "after": true }],
+    "comma-style": [1, "last"],
+    "constructor-super": 2,
+    "curly": [1, "multi-line"],
+    "dot-location": [1, "property"],
+    "eol-last": 1,
+    "eqeqeq": [2, "allow-null"],
+    "generator-star-spacing": [1, "after"],
+    "handle-callback-err": [2, "^(err|error)$" ],
+    "indent": [1, 2, { "SwitchCase": 1 }],
+    "jsx-quotes": [1, "prefer-single"],
+    "key-spacing": [1, { "beforeColon": false, "afterColon": true }],
+    "keyword-spacing": [1, { "before": true, "after": true }],
+    "new-cap": [2, { "newIsCap": true, "capIsNew": false }],
+    "new-parens": 2,
+    "no-caller": 2,
+    "no-class-assign": 2,
+    "no-const-assign": 2,
+    "no-debugger": 1,
+    "no-delete-var": 2,
+    "no-dupe-args": 2,
+    "no-dupe-class-members": 2,
+    "no-dupe-keys": 2,
+    "no-duplicate-case": 2,
+    "no-empty-character-class": 2,
+    "no-empty-pattern": 1,
+    "no-eval": 2,
+    "no-ex-assign": 2,
+    "no-extra-bind": 2,
+    "no-extra-boolean-cast": 2,
+    "no-fallthrough": 1,
+    "no-floating-decimal": 2,
+    "no-func-assign": 2,
+    "no-implied-eval": 2,
+    "no-inner-declarations": [2, "functions"],
+    "no-invalid-regexp": 2,
+    "no-irregular-whitespace": 2,
+    "no-label-var": 2,
+    "no-lone-blocks": 2,
+    "no-mixed-spaces-and-tabs": 1,
+    "no-multi-spaces": 1,
+    "no-multiple-empty-lines": [1, { "max": 1 }],
+    "no-native-reassign": 2,
+    "no-negated-in-lhs": 1,
+    "no-new": 1,
+    "no-new-func": 1,
+    "no-new-symbol": 2,
+    "no-new-wrappers": 1,
+    "no-obj-calls": 2,
+    "no-octal": 2,
+    "no-octal-escape": 2,
+    "no-path-concat": 1,
+    "no-proto": 2,
+    "no-redeclare": 1,
+    "no-regex-spaces": 1,
+    "no-self-assign": 2,
+    "no-self-compare": 2,
+    "no-shadow-restricted-names": 2,
+    "no-spaced-func": 2,
+    "no-sparse-arrays": 2,
+    "no-this-before-super": 2,
+    "no-throw-literal": 1,
+    "no-trailing-spaces": 1,
+    "no-undef": 1,
+    "no-undef-init": 1,
+    "no-unexpected-multiline": 1,
+    "no-unneeded-ternary": [1, { "defaultAssignment": false }],
+    "no-unreachable": 2,
+    "no-unused-vars": [2, { "vars": "all", "args": "none" }],
+    "no-useless-call": 1,
+    "no-useless-constructor": 1,
+    "no-whitespace-before-property": 1,
+    "one-var": [1, "never"],
+    "operator-linebreak": [1, "after", { "overrides": { "?": "before", ":": "before" } }],
+    "padded-blocks": [1, "never"],
+    "quotes": [1, "single", "avoid-escape"],
+    "semi": [1, "always"],
+    "semi-spacing": [1, { "before": false, "after": true }],
+    "space-before-blocks": [1, "always"],
+    "space-before-function-paren": [1, "never"],
+    "space-in-parens": [1, "never"],
+    "space-infix-ops": 1,
+    "space-unary-ops": [1, { "words": true, "nonwords": false }],
+    "spaced-comment": [1, "always"],
+    "template-curly-spacing": [1, "never"],
+    "use-isnan": 2,
+    "valid-typeof": 1,
+    "wrap-iife": [2, "any"],
+    "yield-star-spacing": [1, "after"],
+    "promise/param-names": 2
+  }
+};

{'commit': 'diff --git a/javascript/.eslintrc.js b/javascript/.eslintrc.js\nnew file mode 100644\nindex 0000000..1db24f5\n--- /dev/null\n+++ b/javascript/.eslintrc.js\n@@ -0,0 +1,115 @@\n+module.exports = {\n+  "parserOptions": {\n+    "ecmaVersion": 6,\n+    "ecmaFeatures": {\n+      "jsx": true\n+    },\n+    "sourceType": "module"\n+  },\n+  "env": {\n+    "browser": true,\n+    "es6": true,\n+    "node": true\n+  },\n+  "plugins": [\n+    "react"\n+  ],\n+  "rules": {\n+    "accessor-pairs": 2,\n+    "arrow-parens": [1, "always"],\n+    "arrow-spacing": [1, { "before": true, "after": true }],\n+    "block-spacing": [1, "always"],\n+    "brace-style": [2, "1tbs", { "allowSingleLine": true }],\n+    "comma-dangle": [1, "never"],\n+    "comma-spacing": [1, { "before": false, "after": true }],\n+    "comma-style": [1, "last"],\n+    "constructor-super": 2,\n+    "curly": [1, "multi-line"],\n+    "dot-location": [1, "property"],\n+    "eol-last": 1,\n+    "eqeqeq": [2, "allow-null"],\n+    "generator-star-spacing": [1, "after"],\n+    "handle-callback-err": [2, "^(err|error)$" ],\n+    "indent": [1, 2, { "SwitchCase": 1 }],\n+    "jsx-quotes": [1, "prefer-single"],\n+    "key-spacing": [1, { "beforeColon": false, "afterColon": true }],\n+    "keyword-spacing": [1, { "before": true, "after": true }],\n+    "new-cap": [2, { "newIsCap": true, "capIsNew": false }],\n+    "new-parens": 2,\n+    "no-caller": 2,\n+    "no-class-assign": 2,\n+    "no-const-assign": 2,\n+    "no-debugger": 1,\n+    "no-delete-var": 2,\n+    "no-dupe-args": 2,\n+    "no-dupe-class-members": 2,\n+    "no-dupe-keys": 2,\n+    "no-duplicate-case": 2,\n+    "no-empty-character-class": 2,\n+    "no-empty-pattern": 1,\n+    "no-eval": 2,\n+    "no-ex-assign": 2,\n+    "no-extra-bind": 2,\n+    "no-extra-boolean-cast": 2,\n+    "no-fallthrough": 1,\n+    "no-floating-decimal": 2,\n+    "no-func-assign": 2,\n+    "no-implied-eval": 2,\n+    "no-inner-declarations": [2, "functions"],\n+    "no-invalid-regexp": 2,\n+    "no-irregular-whitespace": 2,\n+    "no-label-var": 2,\n+    "no-lone-blocks": 2,\n+    "no-mixed-spaces-and-tabs": 1,\n+    "no-multi-spaces": 1,\n+    "no-multiple-empty-lines": [1, { "max": 1 }],\n+    "no-native-reassign": 2,\n+    "no-negated-in-lhs": 1,\n+    "no-new": 1,\n+    "no-new-func": 1,\n+    "no-new-symbol": 2,\n+    "no-new-wrappers": 1,\n+    "no-obj-calls": 2,\n+    "no-octal": 2,\n+    "no-octal-escape": 2,\n+    "no-path-concat": 1,\n+    "no-proto": 2,\n+    "no-redeclare": 1,\n+    "no-regex-spaces": 1,\n+    "no-self-assign": 2,\n+    "no-self-compare": 2,\n+    "no-shadow-restricted-names": 2,\n+    "no-spaced-func": 2,\n+    "no-sparse-arrays": 2,\n+    "no-this-before-super": 2,\n+    "no-throw-literal": 1,\n+    "no-trailing-spaces": 1,\n+    "no-undef": 1,\n+    "no-undef-init": 1,\n+    "no-unexpected-multiline": 1,\n+    "no-unneeded-ternary": [1, { "defaultAssignment": false }],\n+    "no-unreachable": 2,\n+    "no-unused-vars": [2, { "vars": "all", "args": "none" }],\n+    "no-useless-call": 1,\n+    "no-useless-constructor": 1,\n+    "no-whitespace-before-property": 1,\n+    "one-var": [1, "never"],\n+    "operator-linebreak": [1, "after", { "overrides": { "?": "before", ":": "before" } }],\n+    "padded-blocks": [1, "never"],\n+    "quotes": [1, "single", "avoid-escape"],\n+    "semi": [1, "always"],\n+    "semi-spacing": [1, { "before": false, "after": true }],\n+    "space-before-blocks": [1, "always"],\n+    "space-before-function-paren": [1, "never"],\n+    "space-in-parens": [1, "never"],\n+    "space-infix-ops": 1,\n+    "space-unary-ops": [1, { "words": true, "nonwords": false }],\n+    "spaced-comment": [1, "always"],\n+    "template-curly-spacing": [1, "never"],\n+    "use-isnan": 2,\n+    "valid-typeof": 1,\n+    "wrap-iife": [2, "any"],\n+    "yield-star-spacing": [1, "after"],\n+    "promise/param-names": 2\n+  }\n+};\n', 'commit_subject': 'lint: Add first draft of my global eslint config.', 'repo_name': 'nicksp/dotfiles', 'committer': {'name': 'Nick Plekhanov', 'email': 'dfc335367a0e0fee2a1b9c52ba34ce19b7b20990@yandex.com', 'time_sec': '1461632182', 'tz_offset': '120', 'date': {'seconds': '1461632182'}}, 'commit_tree': 'dc301f1cdc4fe4945e09d153c6877d440481dff3', 'commit_message': 'lint: Add first draft of my global eslint config.\n', 'language_name': 'Python', 'license': 'mit', 'hunks': '@@ -0,0 +1,115 @@\n+module.exports = {\n+  "parserOptions": {\n+    "ecmaVersion": 6,\n+    "ecmaFeatures": {\n+      "jsx": true\n+    },\n+    "sourceType": "module"\n+  },\n+  "env": {\n+    "browser": true,\n+    "es6": true,\n+    "node": true\n+  },\n+  "plugins": [\n+    "react"\n+  ],\n+  "rules": {\n+    "accessor-pairs": 2,\n+    "arrow-parens": [1, "always"],\n+    "arrow-spacing": [1, { "before": true, "after": true }],\n+    "block-spacing": [1, "always"],\n+    "brace-style": [2, "1tbs", { "allowSingleLine": true }],\n+    "comma-dangle": [1, "never"],\n+    "comma-spacing": [1, { "before": false, "after": true }],\n+    "comma-style": [1, "last"],\n+    "constructor-super": 2,\n+    "curly": [1, "multi-line"],\n+    "dot-location": [1, "property"],\n+    "eol-last": 1,\n+    "eqeqeq": [2, "allow-null"],\n+    "generator-star-spacing": [1, "after"],\n+    "handle-callback-err": [2, "^(err|error)$" ],\n+    "indent": [1, 2, { "SwitchCase": 1 }],\n+    "jsx-quotes": [1, "prefer-single"],\n+    "key-spacing": [1, { "beforeColon": false, "afterColon": true }],\n+    "keyword-spacing": [1, { "before": true, "after": true }],\n+    "new-cap": [2, { "newIsCap": true, "capIsNew": false }],\n+    "new-parens": 2,\n+    "no-caller": 2,\n+    "no-class-assign": 2,\n+    "no-const-assign": 2,\n+    "no-debugger": 1,\n+    "no-delete-var": 2,\n+    "no-dupe-args": 2,\n+    "no-dupe-class-members": 2,\n+    "no-dupe-keys": 2,\n+    "no-duplicate-case": 2,\n+    "no-empty-character-class": 2,\n+    "no-empty-pattern": 1,\n+    "no-eval": 2,\n+    "no-ex-assign": 2,\n+    "no-extra-bind": 2,\n+    "no-extra-boolean-cast": 2,\n+    "no-fallthrough": 1,\n+    "no-floating-decimal": 2,\n+    "no-func-assign": 2,\n+    "no-implied-eval": 2,\n+    "no-inner-declarations": [2, "functions"],\n+    "no-invalid-regexp": 2,\n+    "no-irregular-whitespace": 2,\n+    "no-label-var": 2,\n+    "no-lone-blocks": 2,\n+    "no-mixed-spaces-and-tabs": 1,\n+    "no-multi-spaces": 1,\n+    "no-multiple-empty-lines": [1, { "max": 1 }],\n+    "no-native-reassign": 2,\n+    "no-negated-in-lhs": 1,\n+    "no-new": 1,\n+    "no-new-func": 1,\n+    "no-new-symbol": 2,\n+    "no-new-wrappers": 1,\n+    "no-obj-calls": 2,\n+    "no-octal": 2,\n+    "no-octal-escape": 2,\n+    "no-path-concat": 1,\n+    "no-proto": 2,\n+    "no-redeclare": 1,\n+    "no-regex-spaces": 1,\n+    "no-self-assign": 2,\n+    "no-self-compare": 2,\n+    "no-shadow-restricted-names": 2,\n+    "no-spaced-func": 2,\n+    "no-sparse-arrays": 2,\n+    "no-this-before-super": 2,\n+    "no-throw-literal": 1,\n+    "no-trailing-spaces": 1,\n+    "no-undef": 1,\n+    "no-undef-init": 1,\n+    "no-unexpected-multiline": 1,\n+    "no-unneeded-ternary": [1, { "defaultAssignment": false }],\n+    "no-unreachable": 2,\n+    "no-unused-vars": [2, { "vars": "all", "args": "none" }],\n+    "no-useless-call": 1,\n+    "no-useless-constructor": 1,\n+    "no-whitespace-before-property": 1,\n+    "one-var": [1, "never"],\n+    "operator-linebreak": [1, "after", { "overrides": { "?": "before", ":": "before" } }],\n+    "padded-blocks": [1, "never"],\n+    "quotes": [1, "single", "avoid-escape"],\n+    "semi": [1, "always"],\n+    "semi-spacing": [1, { "before": false, "after": true }],\n+    "space-before-blocks": [1, "always"],\n+    "space-before-function-paren": [1, "never"],\n+    "space-in-parens": [1, "never"],\n+    "space-infix-ops": 1,\n+    "space-unary-ops": [1, { "words": true, "nonwords": false }],\n+    "spaced-comment": [1, "always"],\n+    "template-curly-spacing": [1, "never"],\n+    "use-isnan": 2,\n+    "valid-typeof": 1,\n+    "wrap-iife": [2, "any"],\n+    "yield-star-spacing": [1, "after"],\n+    "promise/param-names": 2\n+  }\n+};\n', 'addition_count': 115, 'deletion_count': 0, 'src_file': '/dev/null', 'tgt_file': 'b/javascript/.eslintrc.js', 'file_extension': '.js', 'before_file': 'ADDFILE', 'message': 'lint: Add first draft of my global eslint config.\n', 'author_name': 'Nick Plekhanov', 'lang': 'eslintrc'}