eslint-plugin-misc

ESLint plugin

This project is maintained by iliubinskii

no-language-mixing

ESLint plugin / no-language-mixing

Disallows language mixing.

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

Examples of incorrect code

const x = "xyz123абв";

Examples of correct code

const x = "xyz";
const y = "123";
const z = "абв";