Skip to content

Commit

Permalink
feat: force only lodash get don't need rule
Browse files Browse the repository at this point in the history
  • Loading branch information
slavik-chapelskyi committed Aug 1, 2022
1 parent 6414d29 commit 3b68936
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend-typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const {allowRequireInConfigs, noExplicitReturnTypeInTests} = require('./common/o
const consistentTypeAssertions = require('./rules/consistent-type-assertions.json');
const consistentTypeImports = require('./rules/consistent-type-imports.json');
const frontendConfig = require('./frontend');
const youDontNeedLodashRules = require('./rules/you-dont-need-lodash.json');
const typescriptRules = require('./rules/typescript');
const restrictedPackagesImportRules = require('./rules/restricted-packages-import.json');

Expand Down Expand Up @@ -33,7 +32,7 @@ module.exports = {
},
],
...consistentTypeImports,
...youDontNeedLodashRules,
"you-dont-need-lodash-underscore/get": "error",
// it fail to compile TS on react static class properties (displayName | defaultProps | etc..)
'@typescript-eslint/explicit-member-accessibility': 0,
// Don`t need for typescript files
Expand Down

0 comments on commit 3b68936

Please sign in to comment.