src/views/data/data-view-subheader.js
Function minimumLengthText
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const minimumLengthText = language => {
let minLength;
let languageFull;
let charOrSyl;
switch (language) {
Function styles
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static get styles() {
return [
css`
.data-view-subheader {
display: flex;
Function render
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
if (!this.fileName) {
//prettier-ignore
return html`
<div class="data-view-subheader">