eslint-config-blockabc
Version:
A All-in-One eslint config project based on Standard Style
23 lines (19 loc) • 311 B
text/typescript
const config = {
name: 'jeff',
age: 'jeff',
}
export class Index {
static say () {
const name = 'abc'
console.log('hello')
if (window.innerHeight === 2) {
console.log(1)
}
else {
console.log(2)
}
}
}
const index = Index
// disable new-cap
console.log(new index())