mirror of
https://github.com/hanzoai/eslint.git
synced 2026-10-30 19:38:10 +00:00
20 lines
433 B
JavaScript
20 lines
433 B
JavaScript
module.exports = {
|
|
rules: {
|
|
"report-cwd": {
|
|
meta: {
|
|
schema: []
|
|
},
|
|
create(context) {
|
|
return {
|
|
Program(node) {
|
|
context.report({
|
|
node,
|
|
message: context.cwd
|
|
});
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|