Skip to content

Commit

Permalink
chore(deps): update eslint packages (major) (#1840)
Browse files Browse the repository at this point in the history
* chore(deps): update eslint packages

* Update eslint configuration

- remove plugins which prevent upgrading eslint
- update the configuration based on the one from cucumber-expression
- update a piece of code to make linting happy

Note: some rules have been deactivated to make the update of eslint
possible without breaking our build. Those rules may be deactivated
later as part of dedicated pull requests.

* Activate eslint-plugin-simple-import-sort

* Add simple-import-sort to dependency-lint ignore list

* Revert "Add simple-import-sort to dependency-lint ignore list"

This reverts commit 1bd2f32.

* Revert "Activate eslint-plugin-simple-import-sort"

This reverts commit a0075e7.

* Remove eslint-plugin-simple-import-sort

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: aurelien-reeves <aurelien.reeves@smartbear.com>
  • Loading branch information
3 people committed Jan 5, 2022
1 parent 50710b6 commit 05e0080
Show file tree
Hide file tree
Showing 4 changed files with 2,338 additions and 2,035 deletions.
17 changes: 15 additions & 2 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
extends:
- standard-with-typescript
- "eslint:recommended"
- "plugin:import/typescript"
- "plugin:@typescript-eslint/eslint-recommended"
- "plugin:@typescript-eslint/recommended"
- "plugin:prettier/recommended"
parser: "@typescript-eslint/parser"
parserOptions:
project: './tsconfig.json'
plugins:
- import
- node
- "@typescript-eslint"
rules:
prettier/prettier:
- error
- trailingComma: es5
singleQuote: true
semi: false
# requires strictNullChecks compiler option, produces many errors with messages objects
'@typescript-eslint/strict-boolean-expressions': off
"@typescript-eslint/strict-boolean-expressions": off
"@typescript-eslint/no-explicit-any": off
"@typescript-eslint/no-inferrable-types": off
"@typescript-eslint/no-empty-function": off
"@typescript-eslint/ban-types": off
"@typescript-eslint/no-unused-vars": off

0 comments on commit 05e0080

Please sign in to comment.