{"push_id":552591087,"size":1,"distinct_size":1,"ref":"refs/heads/issue1691","head":"dd70c5d90b120b652a92b16be522b4c7e42c99f4","before":"ef4acf5f7f0904a8283883699242953b1dc92635","commits":[{"sha":"dd70c5d90b120b652a92b16be522b4c7e42c99f4","author":{"email":"76db3ce70e242b4a08d1fa5724f21d51f3e40d3e@gmail.com","name":"Brandon Mills"},"message":"Update: use global strict mode everywhere (fixes #1691)\n\n1234567890123456789012345678901234567890123456789012345678901234567890\n\nThis enables `\"strict\": [2, \"global\"]` throughout the ESLint codebase,\nincluding the tests.\n\nThis is a huge, repetitive diff, so to save time, here are the\ninteresting changes:\n\n- M `.eslintrc`: Added `\"strict\": [2, \"global\"]`. The default in\n  `conf/eslint.json` can't change until v1.0.0, so even if that does\n  become the new default, it needs to change here for now.\n- D `tests/.eslintrc`: Previously, this had three settings, which\n  enabled the `node` environment, enabled the `mocha` environment, and\n  disabled `strict`. The first was redundant, as it was already\n  enabled in `./eslintrc`, the second has been moved to\n  `tests/lib/.eslintrc`, and the third has been moved to\n  `tests/fixtures/.eslintrc'\n- A `tests/fixtures/.eslintrc`: Disables `strict`, since this\n  directory contains test assets, not ESLint source code or tests, and\n  enabling it caused tests to fail that were assuming a certain\n  configuration of rules for test assets.\n- A `tests/lib/.eslintrc`: Enables the `mocha` environment for test\n  code only.\n- M `tests/lib/rules/no-octal-escape.js`: Enabling strict mode\n  resulted in a parser error due to an octal escape in the third valid\n  test. It appears this was supposed to be a backslash followed by a\n  digit in the test source code, so yay, unexpected bug squash!\n- M `tests/lib/cli.js`: Referenced a different `.eslintrc` since the\n  one it was expecting was removed.\n- M `tests/lib/cli-engine.js`: One test was changed to include a\n  warning about global strict mode, and another wasn't fully reset, as\n  it was still getting rules enabled in `.eslintrc`.","distinct":true,"url":"https://api.github.com/repos/eslint/eslint/commits/dd70c5d90b120b652a92b16be522b4c7e42c99f4"}]}