The src/hotspot directory should ideally only be used for HotSpot source files, and we should avoid polluting it with an .editorconfig. A cleaner solution exists since we can just specify the desired code formatting for HotSpot as an override in the root .editorconfig
------------- Commit messages: - Move HotSpot formatting rules to global .editorconfig - Delete src/hotspot/.editorconfig Changes: https://git.openjdk.org/jdk/pull/24714/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24714&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8354919 Stats: 7 lines in 2 files changed: 4 ins; 3 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/24714.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24714/head:pull/24714 PR: https://git.openjdk.org/jdk/pull/24714