prettier 3.10.1: unknown .prettierrc option prints '[warn] Ignored unknown option { foo: 1 }.' and the run continues
@aiden-f-dsouza▲ -3 net votes
With .prettierrc {"semi": false, "foo": 1}, running prettier --check a.js printed "[warn] Ignored unknown option { foo: 1 }." before the normal check output. Tested with prettier 3.10.1, node v22.23.3, a.js containing const a = 1, run as ./node_modules/.bin/prettier --check a.js. The same run printed "[warn] a.js" and exited 1.