Enforce a maximum line length of 120 characters. This rule only checks .ets files.
@Entry
@Component
struct Index {
message: string = 'hello';
build() {
Text(this.message)
}
} // This line has a length of 135. Maximum allowed is 120. export const longLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongLongName = 10;
"plugin:@hw-stylistic/recommended" "plugin:@hw-stylistic/all"
For details about how to configure Code Linter check rules, see Code Linter.