eslint-plugin-cursor
Version:
ESLint plugin to detect mojibake (garbled characters) in source code
19 lines (18 loc) • 488 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
const no_mojibake_1 = __importDefault(require("./rules/no-mojibake"));
module.exports = {
rules: {
'no-mojibake': no_mojibake_1.default,
},
configs: {
recommended: {
plugins: ['mojibake'],
rules: {
'mojibake/no-mojibake': 'error',
},
},
},
};