Skip to content

Commit

Permalink
prettier and eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
andrefs committed Dec 4, 2023
1 parent bc2b8ec commit dd910fa
Show file tree
Hide file tree
Showing 27 changed files with 2,498 additions and 1,105 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
dist
jest.config.js
17 changes: 17 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {},
"env": {
"es2021": true
}
}
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"semi": false,
"singleQuote": false,
"arrowParens": "avoid"
}
18 changes: 7 additions & 11 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
preset: "ts-jest",
testEnvironment: "node",
collectCoverage: true,
coverageDirectory: 'coverage',
testPathIgnorePatterns: [
'/node_modules/',
],
preset: 'ts-jest',
roots: [
'<rootDir>/src',
]
};
coverageDirectory: "coverage",
testPathIgnorePatterns: ["/node_modules/"],
preset: "ts-jest",
roots: ["<rootDir>/src"],
}
Loading

0 comments on commit dd910fa

Please sign in to comment.