Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Update ESLint, Prettier and Prettier settings **DRAFT** #27

Draft
wants to merge 1 commit into
base: main-forked
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ module.exports = {
sourceType: "module",
},
plugins: ["prettier", "@typescript-eslint"],
extends: ["plugin:prettier/recommended"],
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
rules: {
"prettier/prettier": "error",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
argsIgnorePattern: "^_",
},
],
"@typescript-eslint/no-empty-function": "off",
"prettier/prettier": "warn",
"no-console": "warn",
"no-debugger": "warn",
},
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [next] - TBD

### Changed

- Callers should call `setSessionConfig` on their provider before attempting to access its `sessionConfig` property. This avoids their having to check the return value everywhere (lint fix).

## [4.4.1] - 2022-07-21

### Security
Expand Down
Loading