Skip to content

Update linting rules to follow iTwin.js Typescript Coding Guidelines#167

Merged
Nadegamra merged 7 commits intomainfrom
nadegamra/update-linting-rules
Jun 10, 2025
Merged

Update linting rules to follow iTwin.js Typescript Coding Guidelines#167
Nadegamra merged 7 commits intomainfrom
nadegamra/update-linting-rules

Conversation

@Nadegamra
Copy link
Collaborator

@Nadegamra Nadegamra commented Jun 9, 2025

  • Updated eslint to v9
  • Changed eslint configuration format from JSON to JS
  • Replaced eslint-config-oclif and eslint-config-oclif-typescript rules with @itwin/eslint-plugin rules
  • Replaced eslint-config-prettier rules with @stylistic/eslint-plugin rules
  • Fixed linting issues that arose

@Nadegamra Nadegamra changed the title Nadegamra/update linting rules Update linting rules to follow iTwin.js Typescript Coding Guidelines Jun 9, 2025
@Nadegamra Nadegamra merged commit e148be1 into main Jun 10, 2025
13 checks passed
@Nadegamra Nadegamra deleted the nadegamra/update-linting-rules branch June 10, 2025 08:19
linasburneika pushed a commit that referenced this pull request Aug 19, 2025
…167)

* Updated linting rules.

* Updated eslint config. Updating linting project-wide.

* Fixed an integration test issue. Simplified eslint config.

* Moved added eslint packages to devDependencies. Reverted typescript version change because it broke build.

* Added eslint rule for indentation.

* Replaced error throws with either non-null assertion, error logging or removed them.

* Added promise-function-async rule suppressions for 'parse' functions in flags. Removed some empty lines.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants