Comments (1)
@Suppress("UnnecessaryAbstractClass") // aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa abstract class Seven(val one: String, val two: String)
It looks like that the annotation @Suppress("UnnecessaryAbstractClass")
is ignored from the class signature. But the EOL comment after the annotation is not ignored. The total length of that EOL comment and the actual class signature abstract class Seven(val one: String, val two: String)
together do exceed the 120 character limit.
Of course the comment on a previous line should be ignored when deciding whether the line limit is exceeded.
from ktlint.
Related Issues (20)
- No args constructor can be improperly removed HOT 1
- The class-signature rule wrong wrapping in 1.3.0. HOT 2
- Single-line chain method calls with operator HOT 3
- v1.3.0 class-signature error for android_studio config HOT 7
- Properties that start with `_` should be suppressed by `PropertyName` HOT 1
- Cannot apply default formatting Kotest\StringSpec when migrate from 1.0.1 -> 1.3.0 HOT 5
- Documentation unclear/inconsistent about rule names HOT 4
- Enable installing a specific version of ktlint via brew HOT 1
- Format was not able to resolve all violations which (theoretically) can be autocorrected
- Some rules in https://pinterest.github.io/ktlint/latest/rules/standard/ missing "Suppress or disable rule" HOT 1
- Allow single-line `try`/`catch` statements HOT 2
- Inconsistent starting position of chain method continuation HOT 1
- `function-literal` rule conflict with maximum line length HOT 2
- multiline class arguments HOT 1
- Ktlint 1.3.* converts crlf to lf on Windows HOT 10
- `backing-property-naming` rule shouldn't be applied to fields that have the `override` modifier
- class-signature rule incorrectly forces removal of primary no-argument constructor HOT 2
- ktlint --stdin takes too long and only supports a single file HOT 9
- I get an "Enable default patterns" message when I try to format a Kotlin file in Vim with ALE and Ktlint HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ktlint.