1
0
mirror of https://github.com/1C-Company/v8-code-style.git synced 2025-01-20 21:18:18 +02:00

Настройка проекта

- отключение правила сонара для тестов
- русская локализация - принудительно в UTF-8
- исправлен таргет для разработчика
This commit is contained in:
Dmitriy Marmyshev 2022-01-11 23:45:17 +02:00
parent df412f1a48
commit dec768bf95
16 changed files with 33 additions and 15 deletions

View File

@ -60,7 +60,7 @@
<!-- JaCoCo code coverage, pass to SonarQube -->
<sonar.coverage.jacoco.xmlReportPaths>../../**/target/site/jacoco*/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<sonar.issue.ignore.multicriteria>e1,e2,e3,e4,t1,t2,t3,t4</sonar.issue.ignore.multicriteria>
<sonar.issue.ignore.multicriteria>e1,e2,e3,e4,t1,t2,t3,t4,t5</sonar.issue.ignore.multicriteria>
<!-- Static non-final field names should comply with a naming convention -->
<sonar.issue.ignore.multicriteria.e1.ruleKey>java:S3008</sonar.issue.ignore.multicriteria.e1.ruleKey>
<sonar.issue.ignore.multicriteria.e1.resourceKey>**/Messages.java</sonar.issue.ignore.multicriteria.e1.resourceKey>
@ -85,6 +85,8 @@
<!-- Reflection should not be used to increase accessibility of classes, methods, or fields -->
<sonar.issue.ignore.multicriteria.t4.ruleKey>java:S3011</sonar.issue.ignore.multicriteria.t4.ruleKey>
<sonar.issue.ignore.multicriteria.t4.resourceKey>/tests/**/*.java</sonar.issue.ignore.multicriteria.t4.resourceKey>
<sonar.issue.ignore.multicriteria.t5.ruleKey>common-java:DuplicatedBlocks</sonar.issue.ignore.multicriteria.t5.ruleKey>
<sonar.issue.ignore.multicriteria.t5.resourceKey>/tests/**/*.java</sonar.issue.ignore.multicriteria.t5.resourceKey>
</properties>
<build>

View File

@ -1,2 +1,4 @@
eclipse.preferences.version=1
encoding//src/com/e1c/v8codestyle/autosort/ui/properties/messages_ru.properties=UTF-8
encoding/<project>=UTF-8
encoding/plugin_ru.properties=UTF-8

View File

@ -1,2 +1,4 @@
eclipse.preferences.version=1
encoding//src/com/e1c/v8codestyle/internal/autosort/messages_ru.properties=UTF-8
encoding/<project>=UTF-8
encoding/plugin_ru.properties=UTF-8

View File

@ -1,13 +0,0 @@
###############################################################################
# Copyright (C) 2021, 1C-Soft LLC and others.
#
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
# 1C-Soft LLC - initial API and implementation
###############################################################################
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)

View File

@ -1,2 +1,6 @@
eclipse.preferences.version=1
encoding//src/com/e1c/v8codestyle/internal/bsl/ui/preferences/messages_ru.properties=UTF-8
encoding//src/com/e1c/v8codestyle/internal/bsl/ui/properties/messages_ru.properties=UTF-8
encoding//src/com/e1c/v8codestyle/internal/bsl/ui/views/messages_ru.properties=UTF-8
encoding/<project>=UTF-8
encoding/plugin_ru.properties=UTF-8

View File

@ -1,2 +1,7 @@
eclipse.preferences.version=1
encoding//src/com/e1c/v8codestyle/bsl/check/messages_ru.properties=UTF-8
encoding//src/com/e1c/v8codestyle/bsl/comment/check/messages_ru.properties=UTF-8
encoding//src/com/e1c/v8codestyle/bsl/strict/check/messages_ru.properties=UTF-8
encoding//src/com/e1c/v8codestyle/internal/bsl/messages_ru.properties=UTF-8
encoding/<project>=UTF-8
encoding/plugin_ru.properties=UTF-8

View File

@ -1,2 +1,4 @@
eclipse.preferences.version=1
encoding//src/com/e1c/v8codestyle/form/check/messages_ru.properties=UTF-8
encoding/<project>=UTF-8
encoding/plugin_ru.properties=UTF-8

View File

@ -1,2 +1,4 @@
eclipse.preferences.version=1
encoding//src/com/e1c/v8codestyle/md/ui/messages_ru.properties=UTF-8
encoding/<project>=UTF-8
encoding/plugin_ru.properties=UTF-8

View File

@ -1,3 +1,5 @@
eclipse.preferences.version=1
encoding//src/com/e1c/v8codestyle/md/check/messages_ru.properties=UTF-8
encoding//src/com/e1c/v8codestyle/md/messages_ru.properties=UTF-8
encoding/<project>=UTF-8
encoding/plugin_ru.properties=UTF-8

View File

@ -1,2 +1,4 @@
eclipse.preferences.version=1
encoding//src/com/e1c/v8codestyle/ql/check/messages_ru.properties=UTF-8
encoding/<project>=UTF-8
encoding/plugin_ru.properties=UTF-8

View File

@ -1,2 +1,4 @@
eclipse.preferences.version=1
encoding//src/com/e1c/v8codestyle/right/check/messages_ru.properties=UTF-8
encoding/<project>=UTF-8
encoding/plugin_ru.properties=UTF-8

View File

@ -1,2 +1,4 @@
eclipse.preferences.version=1
encoding//src/com/e1c/v8codestyle/internal/ui/messages_ru.properties=UTF-8
encoding/<project>=UTF-8
encoding/plugin_ru.properties=UTF-8

View File

@ -1,2 +1,4 @@
eclipse.preferences.version=1
encoding//src/com/e1c/v8codestyle/internal/messages_ru.properties=UTF-8
encoding/<project>=UTF-8
encoding/plugin_ru.properties=UTF-8

View File

@ -1,2 +1,3 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
encoding/plugin_ru.properties=UTF-8

View File

@ -1,2 +1,3 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
encoding/feature_ru.properties=UTF-8

View File

@ -13,7 +13,7 @@
<!-- EDT -->
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="slicer" includeSource="true" type="InstallableUnit">
<repository id="dt_repository" location="https://edt.1c.ru/downloads/releases/ruby/2021.2/"/>
<repository id="dt_repository" location="https://edt.1c.ru/downloads/releases/ruby/2021.3/"/>
<unit id="com._1c.g5.aef.feature.feature.group" version="0.0.0"/>
<unit id="com._1c.g5.commons.feature.group" version="0.0.0"/>
<unit id="com._1c.g5.edt.license.feature.group" version="0.0.0"/>