Skip to content

Commit

Permalink
Merge pull request #4 from karankraina/feature/add-linter
Browse files Browse the repository at this point in the history
add eslint and prettier. Update test case for message
  • Loading branch information
karankraina authored Jun 2, 2024
2 parents 613a958 + 14c57c2 commit 0b953fb
Show file tree
Hide file tree
Showing 9 changed files with 2,757 additions and 113 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
lib/
17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"plugins": ["@typescript-eslint", "prettier"],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"rules": {
"prettier/prettier": "error",
"@typescript-eslint/no-unused-vars": "error"
}
}
5 changes: 5 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"singleQuote": true,
"trailingComma": "all",
"printWidth": 80
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# express-under-pressure

Express Under Pressure
Loading

0 comments on commit 0b953fb

Please sign in to comment.