Commit e96726a
manual bump to gts 7, and necessary code nits (#7826)
Modifies the config file to the flat format described
[here](https://eslint.org/docs/latest/use/configure/migration-guide#start-using-flat-config-files).
Also, `.eslintrc.json` has been deprecated in eslint 9, [being replaced
by
`eslint.config.js`](https://eslint.org/docs/latest/use/migrate-to-9.0.0#-new-default-config-format-eslintconfigjs).
Opted to use CommonJS here because it's cleaner, matches up with the
[gts README example](https://github.com/google/gts#working-with-eslint)
and we shouldn't need to migrate for a while.
There are some stricter lint rules introduced by the Typescript updates:
```
@typescript-eslint/no-unused-expressions
@typescript-eslint/no-wrapper-object-types
```
that I also patched up in the code.
---------
Co-authored-by: Pavol Juhas <juhas@google.com>1 parent 479c2bc commit e96726a
File tree
8 files changed
+683
-934
lines changed- cirq-web/cirq_web
- dist
- src/bloch_sphere/components
8 files changed
+683
-934
lines changedThis file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments