To build the Ranger Admin UI package, run the following Maven command:
mvn clean compile package -DskipTests -DskipJSTests=true
prettier.configPath to the full path of the .prettierrc file in your Ranger project directory. Example:/home/user/Workspace/apache/ranger/security-admin/src/main/webapp/react-webapp/.prettierrc
prettier.ignorePath to the full path of the .prettierignore file to ignore specific files and directories from formatting. Example:/home/user/Workspace/apache/ranger/security-admin/src/main/webapp/react-webapp/.prettierignore
cd security-admin/src/main/webapp/react-webapp
npm install --save-dev prettier
npx prettier --write src/App.jsx
npx prettier --write src/
npm install --save-dev prettier and manually formatting the changed files, please ensure that you do not push the package.json and package-lock.json files.