eslint-plugin-misc

ESLint plugin

This project is maintained by iliubinskii

restrict-identifier-characters

ESLint plugin / restrict-identifier-characters

Requires that identifier consists only of english characters and dollar sign.

module.exports = {
  plugins: ["misc"],
  rules: {
    "misc/restrict-identifier-characters": "error"
  }
};

Examples of incorrect code

const абв = 1;

Examples of correct code

const $x1 = 2;