Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0"?>
<ruleset name="PHPMD Customized rule set"
xmlns="http://pmd.sf.net/ruleset/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0
http://pmd.sf.net/ruleset_xml_schema.xsd"
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
<description>
PHPMD Customized rule set
</description>
@dinhhoanglong91
dinhhoanglong91 / elasticsearch_cluster.md
Last active October 18, 2021 16:05
Elasticsearch Cluster

Node 1

IP: 192.168.33.10

cluster_name: dinhhoanglong91
node.name: node-vagrant-1
node.master: true
network.host: 192.168.33.10
discovery.zen.ping.unicast.hosts: ["192.168.33.10", "192.168.33.20"]
linters:
Indentation:
width: 4
ImportantRule:
enabled: false
PropertySortOrder:
enabled: false
ZeroUnit:
enabled: false
ColorVariable:
rules:
comma-dangle:
- 2
- "only-multiline"
no-cond-assign:
- 2
- "always"
no-constant-condition: 2
no-control-regex: 2
no-dupe-args: 2