Skip to content

Commit

Permalink
Fixed ESLint configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
radekmie committed Jan 19, 2021
1 parent 117cdd6 commit 5212ec2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
],
"overrides": [
{
"files": ["**/__mocks__/**/*", "**/__tests__/*"],
"files": ["**/__mocks__/**/*", "**/__tests__/**/*"],
"env": {
"jest": true
}
Expand Down
4 changes: 2 additions & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ module.exports = {
'<rootDir>/packages/uniforms/__mocks__/meteor/$1_$2.ts',
'^meteor/([^:]*)$': '<rootDir>/packages/uniforms/__mocks__/meteor/$1.ts',
'^simpl-schema$': '<rootDir>/node_modules/simpl-schema',
'^uniforms([^/]*)(.*)$': '<rootDir>/packages/uniforms$1/src$2'
'^uniforms([^/]*)(.*)$': '<rootDir>/packages/uniforms$1/src$2',
},
preset: 'ts-jest',
setupFiles: ['./scripts/setupEnzyme.ts'],
testPathIgnorePatterns: ['/node_modules/', '/_[^/]*$', '\\.d\\.ts$']
testPathIgnorePatterns: ['/node_modules/', '/_[^/]*$', '\\.d\\.ts$'],
};

0 comments on commit 5212ec2

Please sign in to comment.