You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #32 the @arcticicestudio/eslint-config-typescript package migrated to the latest plugin versions and added the override field to its index to simplify the usage for consumers by removing the need to explicitly define it per project. Unfortunately this results in a crash loop when doing so and also blocks users from overriding single rules based on the project needs.
To fix this problem, the override field will be removed again, leaving it up to the user to define and customize the ESLint configuration for TypeScript to fit the project needs.
The text was updated successfully, but these errors were encountered:
In GH-32 [1] the `@arcticicestudio/eslint-config-typescript` package
migrated to the latest plugin versions and added the `override`
field [1] to its index to simplify the usage for consumers by removing
the need to explicitly define it per project. Unfortunately this
resulted in a crash loop when doing so and also blocks users from
overriding single rules based on the project needs.
To fix this problem, the `override` field has been removed again,
leaving it up to the user to define and customize the ESLint
configuration for TypeScript to fit the project needs.
[1]: #32
[2]: https://github.com/arcticicestudio/styleguide-javascript/blob/ab59f71f/packages/%40arcticicestudio/eslint-config-typescript/index.js#L31-L36
Co-authored-by: Sven Greb <[email protected]>
GH-50
TypeScript uses triple-slash directives [1] (single-line comments
containing a single XML tag) to define compiler directives.
The `@arcticicestudio/eslint-config-base` configures the ESLint core
rule `spaced-comment` [2] and already defines exceptions and comment
markers for special use cases, but did not support triple-slash
directives. When running `eslint --fix` these comments in `*.d.ts` files
got malformed (`///` → `// /`) which resulted in invalid TypeScript
syntax.
To support triple-slash directives, the `/` marker has been added to the
`line` field.
[1]: https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html
[2]: https://eslint.org/docs/rules/spaced-comment
Co-authored-by: Sven Greb <[email protected]>
GH-50
In GH-32 [1] the `@arcticicestudio/eslint-config-typescript` package
migrated to the latest plugin versions and added the `override`
field [1] to its index to simplify the usage for consumers by removing
the need to explicitly define it per project. Unfortunately this
resulted in a crash loop when doing so and also blocks users from
overriding single rules based on the project needs.
To fix this problem, the `override` field has been removed again,
leaving it up to the user to define and customize the ESLint
configuration for TypeScript to fit the project needs.
[1]: #32
[2]: https://github.com/arcticicestudio/styleguide-javascript/blob/ab59f71f/packages/%40arcticicestudio/eslint-config-typescript/index.js#L31-L36
Co-authored-by: Sven Greb <[email protected]>
ClosesGH-50
In #32 the
@arcticicestudio/eslint-config-typescript
package migrated to the latest plugin versions and added theoverride
field to its index to simplify the usage for consumers by removing the need to explicitly define it per project. Unfortunately this results in a crash loop when doing so and also blocks users from overriding single rules based on the project needs.To fix this problem, the
override
field will be removed again, leaving it up to the user to define and customize the ESLint configuration for TypeScript to fit the project needs.The text was updated successfully, but these errors were encountered: