the best eslint config ๐ง๐ฅโ๏ธ
https://github.com/ctcpip/eslint-config-ultra-mega.git
the best eslint config ๐ง๐ฅโ๏ธ
npm install eslint-config-ultra-mega --save-dev
then in your eslint config file:
for ESM:
import ultraMegaConfig from 'eslint-config-ultra-mega';
export default [
...ultraMegaConfig,
];
or for CJS:
const ultraMegaConfig = require('eslint-config-ultra-mega');
module.exports = [
...ultraMegaConfig,
];
see the eslint docs for more information