Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jest-community/jest-runner-eslint
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.8.0
Choose a base ref
...
head repository: jest-community/jest-runner-eslint
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.9.0
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on May 27, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    6fbd6c8 View commit details
  2. 0.9.0

    SimenB committed May 27, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    SimenB Simen Bekkhus
    Copy the full SHA
    6d1c78d View commit details
Showing with 6 additions and 2 deletions.
  1. +2 −1 README.md
  2. +1 −1 package.json
  3. +3 −0 src/utils/normalizeConfig.js
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -218,7 +218,8 @@ jest-runner-eslint maps a lot of ESLint CLI arguments to config options. For exa
| parser | `espree` | `"parser": "flow"` |
| parserOptions | `{}` | `"parserOptions": { "myOption": true }` |
| plugin | `[]` | `"plugin": "prettier"` or `"plugin": ["pettier", "other"]` |
| quiet | `false` | `"quiet": true` |
| quiet | `false` | `"quiet": true` |
| resolvePluginsRelativeTo | `undefined` | `"resolvePluginsRelativeTo": "./eslint-config"` |
| reportUnusedDisableDirectives | `false` | `"reportUnusedDisableDirectives": true` |
| rules | `{}` | `"rules": {"quotes": [2, "double"]}` or `"rules": {"quotes": [2, "double"], "no-console": 2}` |
| rulesdir | `[]` | `"rulesdir": "/path/to/rules/dir"` or `"env": ["/path/to/rules/dir", "/path/to/other"]` |
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jest-runner-eslint",
"version": "0.8.0",
"version": "0.9.0",
"main": "build/runner",
"author": "Rogelio Guzman <rogelioguzmanh@gmail.com>",
"description": "An experimental ESLint runner for Jest",
3 changes: 3 additions & 0 deletions src/utils/normalizeConfig.js
Original file line number Diff line number Diff line change
@@ -90,6 +90,9 @@ const BASE_CONFIG = {
reportUnusedDisableDirectives: {
default: false,
},
resolvePluginsRelativeTo: {
default: undefined,
},
rules: {
default: {},
},