Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
justworks/.editorconfig at master · AVSystem/justworks · GitHub
Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
AVSystem
justworks
Repository navigation
Code
Issues
6
(6)
Pull requests
6
(6)
Actions
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
justworks
/
.editorconfig
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
86 lines (67 loc) · 3.14 KB
master
Breadcrumbs
justworks
/
.editorconfig
Copy path
Top
File metadata and controls
Code
Blame
86 lines (67 loc) · 3.14 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#
.editorconfig
#
Top-level settings (stop searching in parent directories)
root
=
true
#
###############################################################
#
GLOBAL SETTINGS (Applies to ALL files in the project)
#
###############################################################
[
*
]
#
Use UTF-8 encoding for all files
charset
=
utf-8
#
Use space for indentation
indent_style
=
space
#
Standard indentation size is 4 spaces (required by Kotlin conventions)
indent_size
=
4
#
Ensure a newline character is present at the end of the file
insert_final_newline
=
true
#
Remove any trailing whitespace characters at the end of lines
trim_trailing_whitespace
=
true
#
###############################################################
#
KOTLIN FILES (*.kt and *.kts)
#
###############################################################
[
*
.{kt,kts}
]
#
---------------------------------
#
Official Kotlin Code Style Settings (used by Ktlint and IDE)
#
---------------------------------
#
Set the code style to the official Kotlin conventions
ktlint_code_style
=
ktlint_official
#
Decided to enforce a maximum line length of 120 characters because 100 is too restrictive
max_line_length
=
120
#
Force multiline class signatures when parameter count >= 3
ktlint_class_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than
=
3
#
Force multiline function signatures when parameter count >= 3
ktlint_function_signature_rule_force_multiline_when_parameter_count_greater_or_equal_than
=
3
#
Enable trailing commas for cleaner Git diffs (Ktlint default)
ij_kotlin_allow_trailing_comma
=
true
ij_kotlin_allow_trailing_comma_on_call_site
=
true
#
Disable trailing commas in declaration site (for example for enums)
ktlint_standard_trailing-comma-on-declaration-site
=
disabled
#
Disable the rule: "A multiline expression should start on a new line"
#
This allows, for example, a variable declaration and a multi-line expression
#
to start on the same line (e.g., `val x = multiline_expression_start`).
ktlint_standard_multiline-expression-wrapping
=
disabled
ktlint_standard_string-template-indent
=
disabled
#
When set to default, the first line of a body expression is appended to the function signature
#
as long as the max line length is not exceeded.
#
Useful for functions starting from `flow {` or `runTest{`
ktlint_function_signature_body_expression_wrapping
=
default
#
###############################################################
#
BUILD SCRIPT EXCLUSIONS (*.kts)
#
Often, you don't want strict formatting on build scripts
#
###############################################################
[
**
/
*
.gradle.kts
]
#
Disable Ktlint checks entirely for Gradle Kotlin DSL scripts
ktlint
=
disabled
#
Sometimes build scripts have longer lines
max_line_length
=
unset
#
###############################################################
#
IGNORE GENERATED AND UTILITY FILES
#
(Recommended for clean builds and performance)
#
###############################################################
[
**
/build/
**
/
*
.kt
]
#
Disable Ktlint checks for all files in 'build' directories
ktlint
=
disabled
[
**
/generated/
**
/
*
.kt
]
#
Disable Ktlint checks for all files in 'generated' directories
ktlint
=
disabled
[
*
.yml
]
indent_size
=
2
You can’t perform that action at this time.