Daniel Imms
7b7fb73611
Ignore out dirs in eslint
2023-12-30 09:30:25 -08:00
Daniel Imms
0fd04aa76d
Replace all instances of xterm-addon
2023-11-01 10:35:10 -07:00
Daniel Imms
add7f8133e
Start @xterm scope with core and webgl addons
2023-11-01 06:44:26 -07:00
Per Bothner
bddff604c2
Merge branch 'master' into clusters
2023-09-10 17:20:40 -07:00
Daniel Imms
8985326dd8
Merge pull request #4743 from Tyriar/es2021
...
Upgrade es6 -> es2021
2023-09-10 08:33:48 -07:00
Daniel Imms
98e8c6ac73
Add canvas renderer tests
2023-09-08 12:16:16 -07:00
Per Bothner
930e5c4280
Merge branch 'master' into clusters
2023-09-06 22:11:46 -07:00
Daniel Imms
82b6dd1ac8
Merge branch 'master' into es2021
2023-09-03 07:20:20 -07:00
Daniel Imms
ceef536b79
Upgrade es6 -> es2021
...
This uses the recommended target for node 16 in tsconfig/bases.
Fixes #4706
2023-09-01 07:36:48 -07:00
Per Bothner
44e19775f5
Merge branch 'master' into clusters
2023-08-27 11:58:57 -07:00
Daniel Imms
fbebabe2e6
Add @playwright/test support
2023-08-27 08:08:52 -07:00
Daniel Imms
f9dc26d413
Merge branch 'master' into no_confusing
2023-08-24 06:33:43 -07:00
Daniel Imms
2fe082beea
Warn on eslint rule @typescript-eslint/no-confusing-void-expression
2023-08-24 06:33:11 -07:00
Daniel Imms
1965daff50
Warn on eslint rule @typescript-eslint/no-useless-constructor
2023-08-24 06:24:25 -07:00
Daniel Imms
5ccf4d3311
Merge remote-tracking branch 'upstream/master' into pr/PerBothner/4519-1
2023-08-23 05:09:42 -07:00
Daniel Imms
921da1a2ea
Ignore no-unused-vars in .api, organize all remaining imports
2023-08-23 04:47:53 -07:00
Daniel Imms
ebd4092bee
Ignore no-unused-vars in args
2023-08-23 04:42:44 -07:00
Daniel Imms
b6fd7a2b93
Ignore no-unused-vars in test files
2023-08-23 04:42:21 -07:00
Daniel Imms
210ba8109c
Add no unused variables lint warning
...
This shows a warning while compiling, so demo bundling will still happen but
it will be rejected when a PR is made.
2023-08-23 04:34:55 -07:00
Per Bothner
cf243adfe3
Merge branch 'master' into clusters
2023-08-14 12:22:55 -07:00
Daniel Imms
530f758905
Restrict comments to 100 characters
...
This is a rule I try enforce in PR but it's a bit of a hassle, this will
give a lint warning when it happens resulting in:
- Yellow underline in supported editors when eslint is installed
- Compilation will succeed since it's a warning not an error
- CI will fail as it does not allow lint warnings
Special case comments are ignored which includes @vt comments, table
comments and commented out code.
2023-08-12 09:04:41 -07:00
Per Bothner
b9a4760b44
Move files imported from unicode-properties into subdirectory
...
Specifically addons/xterm-addon-unicode-graphemes/src/third-party/.
2023-08-08 18:32:37 -07:00
Daniel Imms
7baff4e249
Merge branch 'master' into clusters
2023-08-02 11:41:22 -07:00
Jörg Breitbart
fe838726b0
transfer changes from 0.4.3
2023-08-01 16:43:14 +02:00
Daniel Imms
829ecac8e3
Merge branch 'master' into image_addon
2023-07-29 14:43:46 -07:00
Simon Siefke
859c9ec68d
update typescript-eslint
2023-07-27 17:11:04 +02:00
Jörg Breitbart
ebfff5efee
initial move to base repo
2023-06-27 13:35:59 +02:00
Per Bothner
1a8c7dad5f
Update .eslintrc.json to include xterm-addon-unicode-graphemes/benchmark
2023-05-21 10:27:36 -07:00
Per Bothner
41760dfb09
xterm-addon-unicode-graphemes - fix 'yarn test'
2023-05-18 08:55:52 -07:00
Daniel Imms
5204374494
Add no-multi-asterisks rule
2022-10-15 08:43:06 -07:00
Daniel Imms
49e0480f78
Add rule jsdoc/check-alignment
2022-10-15 08:39:32 -07:00
Daniel Imms
114924f3fa
Add eslint-plugin-jsdoc and enable check-param-names
2022-10-15 08:38:14 -07:00
Daniel Imms
5d8e4a0af4
Add lint rule to ensure _on prefix is only for event emitters
2022-10-08 11:05:52 -07:00
Daniel Imms
eecf52e949
Add lint rule to ensure on prefix is only for event emitters
...
Fixes #4183
2022-10-08 10:57:31 -07:00
Daniel Imms
53d0297898
Lint client.ts
2022-10-02 07:15:12 -07:00
Mihai Parparita
a39a468f19
Make terminal rendering work in popout windows
...
Add support for the parent element (what is passed to Terminal.open)
being in a different (same origin) window. Accesses to DOM APIs such
as requestAnimationFrame and devicePixelRatio thus need to be scoped
to the corrent window, instead of assuming that it's the same as the
window/global scope where the code is running.
This is done by inferring a parent window at the creation time, and
then storing it in CoreBrowserService, which is already passed to most
places that need it.
To catch future regressions, an ESLint rule that checks for global
accesses is added (it uses AST selectors via the no-restricted-syntax
rule).
This should also be applicable when the parent element is an iframe.
Fixes #3758
2022-09-08 16:59:31 -07:00
Daniel Imms
ab7da06cc1
Stub canvas addon
2022-07-27 09:26:52 -07:00
Daniel Imms
df17288c1e
Create headless project, fix compile
2021-07-22 15:40:13 -07:00
Daniel Imms
f52d631fa4
Add eslint type assertions rule
...
Fixes #3359
2021-06-04 06:23:12 -07:00
Jörg Breitbart
8c65fcacb3
flip eslint rule to reflect code base
2021-05-10 22:56:30 +02:00
Daniel Imms
f19d7f0b70
Require spacing of objects outside of test files
2021-04-02 07:08:06 -07:00
Daniel Imms
1d6e8abcca
More other addons api tests into test project
2020-09-09 13:54:43 -07:00
Daniel Imms
eca36458b3
Move webgl addon test code into own tsconfig
...
Part of #2917
2020-09-09 12:53:33 -07:00
Daniel Imms
5d61956aff
Get rid of removed typescript-eslint rules
2020-08-28 20:41:50 -07:00
coderaiser
f63f1f7b95
chore: lint using putout
2020-06-01 00:04:17 +03:00
Daniel Imms
15bb9aa137
Disable eslint in all js files
...
This was causing distracting editor diagnostics
2020-05-03 07:31:46 -07:00
Daniel Imms
e343e690f2
Merge branch 'master' into ligatures-addon
2020-05-03 06:22:14 -07:00
Daniel Imms
b84831f148
Make all eslint rules warnings
...
eslint warnings normally don't exit with non-zero when warnings fail unless
'--max-warnings 0' is used. This commit adds that and changes all rules to
be warnings in order to improve feedback in the editor. After this commit
all warning diagnostics (yellow) are stylistic/lint-related ones that will
still fail lint, which error diagnostics (red) are actual errors that will
fail compilation (from tsc).
Fixes #2886
2020-05-03 06:07:53 -07:00
Labhansh Agrawal
c818381ef1
add ligatures addon config
2020-05-01 14:26:03 +05:30
Daniel Imms
394bb38913
Remove src/tsconfig.json from eslintrc
2020-04-26 11:11:04 -07:00