Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

eslint no-unused-vars typescript

"plugins": ["@typescript-eslint"],
"rules": {  
  //...
  "no-unused-vars": "off",
  "@typescript-eslint/no-unused-vars": ["error"]
  //...
}
 
PREVIOUS NEXT
Tagged: #eslint #typescript
ADD COMMENT
Topic
Name
7+6 =