]> git.proxmox.com Git - pve-eslint.git/blob - eslint/tests/fixtures/rules/make-syntax-error-rule.js
first commit
[pve-eslint.git] / eslint / tests / fixtures / rules / make-syntax-error-rule.js
1 module.exports = function(context) {
2 return {
3 Program: function(node) {
4 context.report({
5 node: node,
6 message: "ERROR",
7 fix: function(fixer) {
8 return fixer.insertTextAfter(node, "this is a syntax error.");
9 }
10 });
11 }
12 };
13 };
14 module.exports.schema = [];