Skip to content

Commit

Permalink
feat: Support ESLint 7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDeBoey committed May 9, 2020
1 parent ef18995 commit cd799cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -2,6 +2,7 @@ language: node_js
os:
- linux
node_js:
- "14"
- "12"
- "10"
- "8"
Expand Down
2 changes: 1 addition & 1 deletion __tests__/src/getProp-parser-test.js
Expand Up @@ -100,7 +100,7 @@ function adjustNodeLocations(node, { startOffset, endOffset }) {
const [start, end] = node.range || [];
return {
...node,
...(node.start !== undefined ? { start: node.start + startOffset } : {}),
...(node.range[0] !== undefined ? { start: node.range[0] + startOffset } : {}),
...(node.end !== undefined ? { end: node.end + endOffset } : {}),
loc: {
...node.loc,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -26,7 +26,7 @@
"babel-preset-env": "^1.7.0",
"babylon": "^6.18.0",
"coveralls": "^3.0.4",
"eslint": "^6.0.0",
"eslint": "^7.0.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.17.2",
"flow-parser": "^0.102.0",
Expand Down

0 comments on commit cd799cb

Please sign in to comment.