Skip to content

Commit

Permalink
fix: ignoreWarnings not working on webpack 5 (#91)
Browse files Browse the repository at this point in the history
fix: #81 and #90
  • Loading branch information
ImLunaHey authored May 27, 2024
1 parent d580d13 commit fafc00f
Show file tree
Hide file tree
Showing 12 changed files with 8,272 additions and 8,213 deletions.
25 changes: 25 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"env": {
"es2021": true,
"node": true
},
"extends": ["airbnb-base", "airbnb-typescript/base"],
"parserOptions": {
"project": "./tsconfig.json",
"ecmaVersion": 12,
"sourceType": "module"
},
"overrides": [
{
"files": ["*.ts"],
"rules": {
"max-len": [
"error",
{
"code": 125
}
]
}
}
]
}
6 changes: 3 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module.exports = {
module.exports= {
clearMocks: true,
collectCoverage: true,
collectCoverageFrom: ["src/index.ts"],
coverageDirectory: "coverage",
moduleFileExtensions: ["js", "ts"],
testEnvironment: "node",
"transform": {
"^.+\\.ts?$": "ts-jest"
transform: {
"^.+\\.ts?$": "ts-jest",
},
};
Loading

0 comments on commit fafc00f

Please sign in to comment.