Wykres commitów

36 Commity (f41a219697f816f945c50d5ca85453cebc7f58d1)

Autor SHA1 Wiadomość Data
LB Johnston cad419ea9e Prettier linting - clean up ignored file (search promotions)
- remove specific file in .prettierignore and add inline comments to allow for linting / formatting for the searchpromotions_formset
- Split from #9522
2022-11-07 19:34:57 +10:00
LB Johnston 8037de631f eslint config - only list explicit files that need to be included with legacy config 2022-09-27 14:53:18 +01:00
LB Johnston eb398a5f9b eslint - move 'prefer-destructuring' disabling to core rules
- this rule does not align with preferred code approach
2022-09-27 14:53:18 +01:00
LB Johnston 458b77e5ae eslint config - remove rules no longer needed
- no-await-in-loop can be removed from legacyCode (expect api page chooser, ignored in-line)
- prefer-promise-reject-errors can be removed as it is no longer used in any code (except mock-fetch, ignored in line)
2022-09-27 14:53:18 +01:00
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