Skip to content

Instantly share code, notes, and snippets.

View Bala-raj's full-sized avatar
🎯
Focusing

Balachander Bala-raj

🎯
Focusing
  • Full Creative
  • Chennai
View GitHub Profile
@Bala-raj
Bala-raj / pmd-v6-config.xml
Created May 17, 2019 13:39
PMD Configration
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ruleset xmlns="http://pmd.sourceforge.net/ruleset/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
name="AW Java ruleset"
xsi:schemaLocation="http://pmd.sourceforge.net/ruleset/2.0.0 http://pmd.sourceforge.net/ruleset_2_0_0.xsd">
<description>
Custom ruleset for Java projects
</description>
<rule ref="category/java/bestpractices.xml">
@Bala-raj
Bala-raj / google_checkstyle.xml
Last active May 17, 2019 12:09
Google's CheckSytle Configuration
<?xml version="1.0"?>
<!DOCTYPE module PUBLIC
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
"https://checkstyle.org/dtds/configuration_1_3.dtd">
<!--
Checkstyle configuration that checks the Google coding conventions from Google Java Style
that can be found at https://google.github.io/styleguide/javaguide.html.
Checkstyle is very configurable. Be sure to read the documentation at
package test;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import javax.script.Invocable;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;