File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 " jest.config.js" ,
2828 " env.config.*" ,
2929 " example.env.config.*" ,
30- " module.config.js"
30+ " module.config.js" ,
31+ " **/messages.{ts,js}"
3132 ],
3233 "plugins" : [
3334 " https://plugins.dprint.dev/typescript-0.95.15.wasm" ,
Original file line number Diff line number Diff line change 1+ {
2+ // For messages files, we allow unlimited line length, to keep the file format consistent.
3+ // For now a separate file is required, but this could be simplified when
4+ // https://github.com/dprint/dprint/issues/996 is implemented or if we change to a different formatter.
5+ "extends" : " dprint.json" ,
6+ "lineWidth" : 10000 ,
7+ "includes" : [" src/**/messages.{ts,js}" ]
8+ // Because this inherits "excludes" from "dprint.json", it's necessary to use "--excludes-override none"
9+ // to run this on the command line.
10+ }
Original file line number Diff line number Diff line change 1313 "build" : " fedx-scripts webpack" ,
1414 "i18n_extract" : " fedx-scripts formatjs extract --include=plugins" ,
1515 "stylelint" : " stylelint \" plugins/**/*.scss\" \" src/**/*.scss\" \" scss/**/*.scss\" --config .stylelintrc.json" ,
16- "lint" : " dprint check && oxlint --type-aware --deny-warnings && npm run stylelint" ,
17- "lint:fix" : " dprint fmt && oxlint --type-aware --fix" ,
16+ "lint" : " dprint check && dprint --config dprint.messages.json check --excludes-override none && oxlint --type-aware --deny-warnings && npm run stylelint" ,
17+ "lint:fix" : " dprint fmt && dprint --config dprint.messages.json fmt --excludes-override none && oxlint --type-aware --fix" ,
1818 "start" : " fedx-scripts webpack-dev-server --progress" ,
1919 "start:with-theme" : " paragon install-theme && npm start && npm install" ,
2020 "dev" : " PUBLIC_PATH=/authoring/ MFE_CONFIG_API_URL='http://localhost:8000/api/mfe_config/v1' fedx-scripts webpack-dev-server --progress --host apps.local.openedx.io" ,
You can’t perform that action at this time.
0 commit comments