Both files are created on initiation because default configuration
file name can cause a conflict with the truffle executable, and so
you may not be able to run Truffle commands properly on existing
projects.

truffle-config.js works for me. Since the infromation dropped down an useful answer for it "- is properly configured in your Truffle configuration file (truffle-config.js)". I'm using Linux
– EnderFeb 20 at 3:48