eslint-plugin-misc

ESLint plugin

This project is maintained by iliubinskii

consistent-symbol-description

ESLint plugin / consistent-symbol-description

Requires consistent symbol description.

module.exports = {
  plugins: ["misc"],
  rules: {
    "misc/consistent-symbol-description": "error"
  }
};

Examples of incorrect code

const x = Symbol("SampleDescription");

Examples of correct code

const x = Symbol("kebab-case__kebab-case");