Skip to content

Commit

Permalink
fix: eslint rules
Browse files Browse the repository at this point in the history
Signed-off-by: hxtree <[email protected]>
  • Loading branch information
hxtree committed Oct 28, 2023
1 parent f95e9f7 commit 3af1255
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/faker-factory/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ module.exports = {
parserOptions: {
tsconfigRootDir: __dirname,
},
rules: {
'no-prototype-builtins': 'off',
},
};
1 change: 1 addition & 0 deletions libraries/faker-factory/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export * from './faker-factory';
export { toPojo, isPojo } from './pojo';
export { Settings } from './settings';
2 changes: 2 additions & 0 deletions libraries/faker-factory/src/pojo.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable no-prototype-builtins */

/**
* toPojo
* @param obj
Expand Down

0 comments on commit 3af1255

Please sign in to comment.