diff --git a/scripts/prettier.js b/scripts/prettier.js index c7e8cf80c082ba9eff435e770204509d2e62bf82..86d1a3dec541ba73ef1d30781f3bbd5e8e1d8608 100644 --- a/scripts/prettier.js +++ b/scripts/prettier.js @@ -16,8 +16,12 @@ let didError = false; let files = []; const jsFiles = glob.sync('src/**/*.js*', { ignore: ['**/node_modules/**', 'build/**'] }); const tsFiles = glob.sync('src/**/*.ts*', { ignore: ['**/node_modules/**', 'build/**'] }); +const configFiles = glob.sync('config/**/*.js*', { ignore: ['**/node_modules/**', 'build/**'] }); +const lessFiles = glob.sync('src/**/*.less*', { ignore: ['**/node_modules/**', 'build/**'] }); files = files.concat(jsFiles); files = files.concat(tsFiles); +files = files.concat(configFiles); +files = files.concat(lessFiles); if (!files.length) { return; }