Closed adriaanwm closed 4 years ago
@adriaanwm How do you feel about:
"no-unused-vars": ["error", { "vars": "local", "args": "none", 'argsIgnorePattern': '^_' }]
So if I do:
const amIUsed = 42
And never use it, it bugs out.
But it won't bug out on:
const [_, other] = useState()
//nor
function (ev) => console.log('clicked')
?
@staydecent that sounds good!
Size Change: -6 B (0%)
Total Size: 46.9 kB
public/module/1593457757365-index.js
public/module/index-75c4c098.js
public/module/index-dd835880.js
public/module/use-request.m-0e3213a8.js
public/nomodule/1593457757365-index.js
public/nomodule/index-6917c84d.js
public/nomodule/index-bf15c6f7.js
public/nomodule/use-request.m-2764f79e.js
public/module/1593457728805-index.js
public/module/index-1192c1ff.js
public/module/index-de4a0117.js
public/module/use-request.m-0a0cd3d8.js
public/nomodule/1593457728805-index.js
public/nomodule/index-2dad8598.js
public/nomodule/index-a5059731.js
public/nomodule/use-request.m-83d1994c.js
âšī¸ View Unchanged
| Filename | Size | Change | | |:--- |:---:|:---:|:---:| | `public/workers/cache.js` | 320 B | 0 B | | | `public/workers/request.js` | 419 B | 0 B | |compressed-size-action