Fredrik Adelöw
7455dae884
require the use of node prefix on native imports
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2026-01-26 13:22:53 +01:00
Hellgren Heikki
2974c08619
fix: review findings
...
removed default exclude targets so that tests are also in the scope.
added new includedFiles option that defaults to all in src/ directories
added more ignored packages to local config to make this pass, needs
fixes later on
Signed-off-by: Hellgren Heikki <heikki.hellgren@op.fi >
2025-06-16 22:38:45 +03:00
Hellgren Heikki
e84e7c55bf
feat: add suggestions for fixes for mixed plugins rule
...
Signed-off-by: Hellgren Heikki <heikki.hellgren@op.fi >
2025-06-16 22:11:21 +03:00
Hellgren Heikki
063b2d39ce
feat: eslint rule to check forbidden plugin imports
...
basically verify-local-dependencies.js but done during linting also in
the 3rd party repositories.
Signed-off-by: Hellgren Heikki <heikki.hellgren@op.fi >
2025-06-16 22:11:20 +03:00
Paul Schultz
5aa0d907ac
modify eslint and tsconfig files to be nonbreaking
...
Signed-off-by: Paul Schultz <pschultz@pobox.com >
2025-04-08 07:59:09 -05:00
Paul Schultz
2e26579e06
chore: update react imports
...
Signed-off-by: Paul Schultz <pschultz@pobox.com >
2025-04-08 07:35:24 -05:00
Raghunandan Balachandran
ef2b0da3cc
Fix spacing in eslintrc
...
Signed-off-by: Raghunandan Balachandran <raghunandan@spotify.com >
2024-09-16 17:59:16 +02:00
Raghunandan Balachandran
42c13f1530
turn off testing library's aggressive reporting that flagged getByUsername and getByName github apis as sync apis in non-test code
...
Signed-off-by: Raghunandan Balachandran <raghunandan@spotify.com >
2024-09-16 17:59:16 +02:00
Fredrik Adelöw
a5b07ab46f
suggest knexfile
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2024-02-21 17:54:25 +01:00
Fredrik Adelöw
c9f113f874
fixes
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2023-11-13 09:59:37 +01:00
Olivier Tassinari
a51fb51617
fix: use Material UI vs. MUI where relevant
...
Signed-off-by: Olivier Tassinari <olivier.tassinari@gmail.com >
2023-07-04 23:49:19 +02:00
Carlos Esteban Lopez Jaramillo
a52566971c
Merge branch 'master' into feat/BCKSTG-93-paragraphs
...
Signed-off-by: Carlos Esteban Lopez Jaramillo <luchillo17@gmail.com >
2023-01-11 13:31:50 -05:00
Carlos Esteban Lopez
e75f39e603
feat: Lint paragraphs except in test files & fix
...
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com >
2023-01-10 16:08:53 -05:00
Carlos Esteban Lopez
0dfaf1b78b
feat: setup forbid-elements ESLint rule for spans
...
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com >
2023-01-10 16:06:22 -05:00
Carlos Esteban Lopez
e5831e96d2
lint: Use rule excluding test files
...
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com >
2022-12-15 03:38:40 -05:00
Carlos Esteban Lopez
9ccbf26581
fix: Move rules to root of project
...
Signed-off-by: Carlos Esteban Lopez <lcarlosesteb@vmware.com >
2022-12-13 11:37:14 -05:00
Fredrik Adelöw
3bd6cc7c55
some more progress toward ubiquitous eslint-plugin-testing-library
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-11-23 09:28:37 +01:00
Fredrik Adelöw
d3fea4ae0a
avoid globals
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-11-22 15:42:29 +01:00
Fredrik Adelöw
cb716004ef
add some eslint rules for testing-library use in tests
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-11-18 11:29:20 +01:00
Fredrik Adelöw
9632cda521
Fix the last renmnants of the old copyright header
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-01-09 22:10:52 +01:00
Patrik Oldsberg
ca0559444c
avoid usage of to*Case + add project lint rule
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2021-10-02 18:43:11 +02:00
Fredrik Adelöw
a88073c29a
Update copyright headers
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-06-18 20:26:42 +02:00
Fredrik Adelöw
93529a5f11
Permit, and prefer, "The Backstage Authors" in the copyright header
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-06-18 10:35:47 +02:00
Fredrik Adelöw
4b17d4df6f
Move copyright header handling explicitly into the repo
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-05-27 11:47:15 +02:00
Fredrik Adelöw
69a3fa79e7
Move backend lint config to cli config
2020-04-29 11:01:40 +02:00
Patrik Oldsberg
7ac528b1ce
packages/cli: update eslint config test config to include dev/ and only setupTests directly in src
2020-04-23 00:51:31 +02:00
Paul Marbach
32072ad429
chore: use eslint-config-oss
2020-04-03 16:28:10 -04:00
Patrik Oldsberg
3a0d8edcb5
rename npm namespace from @spotify-backstage to @backstage
2020-03-25 19:12:11 +01:00
Patrik Oldsberg
3195e2f2c4
eslint: move copyright template to separate file
2020-03-22 21:52:06 +01:00
Patrik Oldsberg
a711dc21b2
cli: add and use app:lint + include default eslint config in cli
2020-03-18 16:27:27 +01:00
Fredrik Adelöw
1fec035351
Add license headers and eslint rules for them
2020-03-12 13:05:25 +01:00
Patrik Oldsberg
56226ae84d
frontend: move to repo root
2020-03-05 16:28:14 +01:00