Skip to content

Commit

Permalink
refactor: use eslintrc from api-utils
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Kieckhafer <ek@ato.la>
  • Loading branch information
kieckhafer committed Apr 3, 2020
1 parent 9f958fc commit 1a24cce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 27 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: "./node_modules/@reactioncommerce/api-utils/lib/configs/eslintrc.cjs"
};
28 changes: 1 addition & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"dependencies": {
"@apollo/federation": "^0.12.0",
"@reactioncommerce/api-utils": "~1.7.0",
"@reactioncommerce/api-utils": "~1.9.0",
"@reactioncommerce/db-version-check": "~1.0.0",
"@reactioncommerce/file-collections": "~0.7.0",
"@reactioncommerce/file-collections-sa-gridfs": "~0.1.0",
Expand Down Expand Up @@ -117,32 +117,6 @@
"docs": "jsdoc . --configure .reaction/jsdoc/jsdoc.json --readme .reaction/jsdoc/templates/static/README.md",
"version": "echo $npm_package_version"
},
"eslintConfig": {
"extends": "@reactioncommerce",
"settings": {
"react": {
"version": "detect"
}
},
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true
}
},
"env": {
"es6": true,
"jasmine": true
},
"rules": {
"node/no-missing-import": "off",
"node/no-missing-require": "off",
"node/no-unsupported-features/es-syntax": "off",
"node/no-unpublished-import": "off",
"node/no-unpublished-require": "off"
}
},
"prettier": {
"arrowParens": "always"
},
Expand Down

0 comments on commit 1a24cce

Please sign in to comment.