eslint-plugin-misc

ESLint plugin

This project is maintained by iliubinskii

no-underscore-export

ESLint plugin / no-underscore-export

Disallows underscore export.

module.exports = {
  plugins: ["misc"],
  rules: {
    "misc/no-underscore-export": "error"
  }
};

Examples of incorrect code

export const _x = 1;
export function _f() {}

Examples of correct code

export const x = 1;
export function f() {}