Skip to content

Commit

Permalink
feat: update eslintrc file
Browse files Browse the repository at this point in the history
  • Loading branch information
vanpho93 committed Aug 30, 2022
1 parent d35b9d8 commit 15552df
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
module.exports = {
extends: "./node_modules/@reactioncommerce/api-utils/lib/configs/eslintrc.cjs"
extends: "@reactioncommerce",
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"
}
};

0 comments on commit 15552df

Please sign in to comment.