Skip to content

Commit

Permalink
[Dev Deps] update eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
conartist6 authored and ljharb committed Aug 30, 2019
1 parent bef0803 commit b44f0f8
Show file tree
Hide file tree
Showing 4 changed files with 149 additions and 197 deletions.
19 changes: 17 additions & 2 deletions .eslintrc
Expand Up @@ -3,14 +3,29 @@
"parserOptions": {
"ecmaVersion": 5,
},
"env": {
"browser": true,
"node": true,
},
"rules": {
"no-console": "off",
},
"overrides": [
{
"files": "**/__tests__/**/*",
"env": {
"jest": true,
"jasmine": true,
"es6": true,
},
"rules": {
"no-unused-vars": "off",
},
"parserOptions": {
"ecmaVersion": "2019",
"ecmaVersion": 2019,
"ecmaFeatures": {
"jsx": true,
}
},
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion checkPropTypes.js
Expand Up @@ -24,7 +24,7 @@ if (process.env.NODE_ENV !== 'production') {
// This error was thrown as a convenience so that you can use this stack
// to find the callsite that caused this warning to fire.
throw new Error(message);
} catch (x) {}
} catch (x) { /**/ }
};
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -44,7 +44,7 @@
"babel-preset-react": "^6.24.1",
"browserify": "^16.2.3",
"bundle-collapser": "^1.2.1",
"eslint": "^5.13.0",
"eslint": "^6.3.0",
"in-publish": "^2.0.0",
"jest": "^19.0.2",
"react": "^15.5.1",
Expand Down

0 comments on commit b44f0f8

Please sign in to comment.