eslint-config-bananass
Version:
ESLint Config for Bananass Framework.🍌
33 lines (29 loc) • 618 B
JavaScript
/**
* @fileoverview ESLint settings.
*/
// --------------------------------------------------------------------------------
// Export
// --------------------------------------------------------------------------------
export const node = {
resolverConfig: {
// `eslint-plugin-n` uses webpack's `enhanced-resolve` under the hood.
extensions: [
'.js',
'.mjs',
'.cjs',
'.jsx',
'.ts',
'.mts',
'.cts',
'.tsx',
'.d.ts',
'.d.mts',
'.d.cts',
'.json',
],
mainFiles: ['index'],
},
};
export const react = {
version: 'detect',
};