3 ms·
I would recommend using eslint and the following rule : https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-callback-reference.m
by speedgoose 6y ago
I would recommend using eslint and the following rule : https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-array-callback-reference.md https://github.com/sindresorhus/eslint-plugin-unicorn/blob/m...
eslint-plugin-unicorn has a lot of great rules, some are opinionated but you don't have to use all the rules.