From 5a58375f46e802f1bb9600994fa358237da1a2a3 Mon Sep 17 00:00:00 2001 From: Oscar Westra van Holthe - Kind Date: Mon, 25 Mar 2024 07:38:42 +0100 Subject: [PATCH] Improve inspections Yes, this includes two unused variables, but it is the only way to not disable spellchecking for the entire file (and mark inspections as "off"). --- build.gradle.kts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 82edb4f..3b31bd0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,3 @@ -@file:Suppress("SpellCheckingInspection") - import org.jetbrains.intellij.tasks.RunPluginVerifierTask.FailureLevel import java.util.* @@ -82,16 +80,18 @@ intellij { // Extra plugin(s); not needed, but maybe useful during development: plugins.add("markdown") + @Suppress("UNUSED_VARIABLE") val lombokPluginName = "Lombook Plugin" // Yes, the typo is part of the official name + @Suppress("UNUSED_VARIABLE") val editorConfigPluginName = "org.editorconfig.editorconfigjetbrains" + /* Other (bundled) plugins: */ /* - Other (bundled) plugins: plugins.add("org.intellij.intelliLang") plugins.add("Git4Idea") plugins.add("com.intellij.tasks") - plugins.add("Lombook Plugin") // Yes, the typo is part of the official name + plugins.add(lombokPluginName) plugins.add("org.intellij.plugins.markdown") plugins.add("org.jetbrains.idea.maven") plugins.add("org.jetbrains.kotlin") - plugins.add("org.editorconfig.editorconfigjetbrains") + plugins.add(editorConfigPluginName) plugins.add("org.jetbrains.plugins.github") plugins.add("org.jetbrains.idea.maven.model") plugins.add("com.intellij.copyright")