0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

32 Commits

Author SHA1 Message Date
LB Johnston
d57021e1cc clean up eslint for test files
- disable general rules to make writing tests simpler
2022-07-06 19:28:25 +10:00
LB Johnston
0dfa39d3c5 eslint - remove react/jsx-no-useless-fragment ignoring & fix 2022-07-06 19:21:35 +10:00
LB Johnston
f6107166ed eslint - remove react/jsx-filename-extension ignoring as already set up in global 2022-07-06 19:21:35 +10:00
LB Johnston
441a32fb22 eslint - remove react/jsx-curly-brace-presence ignoring & format 2022-07-06 19:21:35 +10:00
LB Johnston
14c4bcff68 eslint - remove anchor-is-valid ignoring & fix 2022-07-06 19:21:35 +10:00
LB Johnston
8e13985bc0 eslint - remove jsx-a11y/alt-text ignoring & fix 2022-07-06 19:21:35 +10:00
LB Johnston
3bd71ec03c eslint config - move react specific legacy ignoring to separate section 2022-07-06 19:21:35 +10:00
LB Johnston
f252aa83d1 eslint - remove prefer-object-pread ignoring & format/fix 2022-06-24 11:17:04 +01:00
LB Johnston
ecf99931d9 eslint - remove no-import-assign (had no issues) 2022-06-24 08:25:02 +10:00
LB Johnston
5ba404704b eslint - remove operator-assignment & format 2022-06-24 08:25:02 +10:00
LB Johnston
a0c769b845 eslint - remove no-extra-boolean-cast & format 2022-06-24 08:25:02 +10:00
LB Johnston
0c3c8ae49b eslint - remove 'no-lonely-if' & format 2022-06-24 08:25:02 +10:00
LB Johnston
75d2f063a2 eslint - update lines-between-class-members & format
- allow single line members to be compact
2022-06-24 08:25:02 +10:00
LB Johnston
f10eb48ae3 eslint - remove import/no-cycle as not needed 2022-06-23 13:42:28 +01:00
LB Johnston
9f7c023c12 eslint - remove import/no-extraneous-dependencies & add ignore
- ignoring in one location where import is added for dev only
2022-06-23 13:41:59 +01:00
LB Johnston
6995ba4aee eslint - move import/first & fix
- import/first is useful in tests when we need to set up globals before importing (jquery)
2022-06-23 13:35:09 +01:00
LB Johnston
6fd77175aa eslint - remove import/no-useless-path-segments & format 2022-06-23 13:35:09 +01:00
LB Johnston
e0b6d54e25 eslint - remove import/order & format 2022-06-23 13:35:09 +01:00
LB Johnston
20a75b2a90 eslint - remove rule import/newline-after-import & format
- relates to #8731
2022-06-23 13:35:09 +01:00
LB (Ben Johnston)
b25b343225
Fix ESLint issue with how jQuery is treated as a core module (#8591) 2022-06-01 07:51:35 +01:00
LB (Ben Johnston)
9a04aefe9a
Disable ESLint prefer-default-export globally (#8577)
- default / named exports are used in varying places and it is not a critical blocker for future code
- disable this rule and in the future it can be re-assessed or moved to the core wagtail eslint config
2022-05-31 22:47:50 +01:00
Matt Westcott
6b30a1aae9 Use SearchController on task chooser modal 2022-05-25 19:00:50 +10:00
Matt Westcott
1fc66294a4 Move snippet-chooser-modal.js to client js 2022-05-25 19:00:50 +10:00
LB (Ben Johnston)
7c9b6fd415
Cleanup - eslint config fixes (#8543)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-05-20 16:08:13 +01:00
Steve Stein
629ced01ca
Page editor underline tabs (#8266)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-04-12 16:11:08 +01:00
Karl Hobley
849ac514a2 Define gettext functions in an importable module 2022-04-01 17:01:26 -04:00
Karl Hobley
1e884285a1 Replace STRINGS constants with gettext 2022-04-01 17:01:26 -04:00
LB Johnston
13091eab34 remove Hallo JS 2022-03-02 20:15:33 +10:00
Steve Stein
3bf9b65c06
Tailwind package setup (#8003)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-02-27 16:08:38 +00:00
Thibaud Colas
d149a27392 Upgrade Storybook setup, with latest release, less boilerplate 2022-02-24 21:22:45 +10:00
Thibaud Colas
af942a27e4
Reformat codebase with Prettier (#7912)
- Automated reformatting
- Manually change code where Prettier reformatting causes issues
- Revert "Disable Prettier formatting in CI for now"
2022-02-04 11:57:55 +00:00
Thibaud Colas
81ec3244d3 Upgrade ESLint configuration, with needed refactorings
- Change ESLint configuration syntax for ease of editing
- Autofix basic issues picked up by ESLint
- Make sure JS linting runs on TypeScript files
2022-02-01 07:36:17 +10:00