You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: if the user has a .prettierrc* config file in one of parent directories, e.g. $HOME, options in that file may contradict the default option values that cesium relies on.
I suggest that above scripts should be given the option --no-config, which would avoid any interference from the user's config files.
my operating System: macOS 13.2.1
my prettier version: 2.8.4
cesium prettier version: 2.1.2
Note: my $HOME/.prettierrc contains the option "bracketSameLine": true, which is unknown to prettier 2.1.2, so running npm run prettier-check produces a warning Ignored unknown option �bracketSameLine: true for every cesium file scanned, which masks any real warnings.
The text was updated successfully, but these errors were encountered:
cesium/package.json
contains 2 prettier scripts:Problem: if the user has a
.prettierrc*
config file in one of parent directories, e.g.$HOME,
options in that file may contradict the default option values thatcesium
relies on.I suggest that above scripts should be given the option
--no-config
, which would avoid any interference from the user's config files.my operating System: macOS 13.2.1
my prettier version: 2.8.4
cesium prettier version: 2.1.2
Note: my
$HOME/.prettierrc
contains the option"bracketSameLine": true
, which is unknown to prettier 2.1.2, so runningnpm run prettier-check
produces a warningIgnored unknown option �bracketSameLine: true
for every cesium file scanned, which masks any real warnings.The text was updated successfully, but these errors were encountered: