We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff74934 commit d8c223bCopy full SHA for d8c223b
.travis.yml
@@ -10,6 +10,8 @@ matrix:
10
env: ESLINT_VERSION=latest RUN_LINT=true RUN_INTEGRATION=true
11
- node_js: 12
12
env: ESLINT_VERSION=4.7 RUN_INTEGRATION=true
13
+ - node_js: 12
14
+ env: ESLINT_VERSION=next RUN_INTEGRATION=true
15
16
script:
17
- if [[ $RUN_LINT = true ]]; then npm run lint; fi
src/__tests__/plugin.js
@@ -7,7 +7,9 @@ const eslintVersion = require("eslint/package.json").version
7
const plugin = require("..")
8
9
function matchVersion(versionSpec) {
- return semver.satisfies(eslintVersion, versionSpec)
+ return semver.satisfies(eslintVersion, versionSpec, {
+ includePrerelease: true,
+ })
}
function ifVersion(versionSpec, fn, ...args) {
0 commit comments