Skip to content

Commit

Permalink
migrating import/default rule to parsers.all function
Browse files Browse the repository at this point in the history
Rebased from parsers branch

default-rule with parsers.all

parserOptions for failing tests
  • Loading branch information
greatsage-raphael authored and ljharb committed Jul 19, 2022
1 parent 5fa6194 commit c59466e
Show file tree
Hide file tree
Showing 3 changed files with 198 additions and 204 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
"mocha": "^3.5.3",
"npm-which": "^3.0.1",
"nyc": "^11.9.0",
"object.fromentries": "^2.0.5",
"redux": "^3.7.2",
"rimraf": "^2.7.1",
"safe-publish-latest": "^2.0.0",
Expand Down
4 changes: 3 additions & 1 deletion tests/src/parsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ const parsers = {
|| features.has('flow')
|| features.has('ts')
|| features.has('types')
|| (features.has('fragment') && semver.satisfies(version, '< 5'));
//if it has fragments use version 5 and higher // create features for export from
|| (features.has('fragment') && semver.satisfies(version, '< 5'))
|| features.has('');

const skipBabel = features.has('no-babel');
const skipOldBabel = skipBabel || features.has('no-babel-old') || semver.satisfies(version, '>= 8');
Expand Down
Loading

0 comments on commit c59466e

Please sign in to comment.