* #708 apply strictier linting rules and fix simple eslint bugs * #708 fix eslint errors relate to promise * #708 fix eslint import/no-extraneous-dependencies * #708 fix eslint errors of react-hook * #708 enable eslint check for typescript --------- Co-authored-by: lethemanh <lethemanh@lethemanhs-MacBook-Pro.local>
This commit is contained in:
+5
-5
@@ -1,9 +1,9 @@
|
||||
const path = require("path");
|
||||
const path = require('path')
|
||||
|
||||
module.exports = {
|
||||
process(sourceText, sourcePath, options) {
|
||||
return {
|
||||
code: `module.exports = ${JSON.stringify(path.basename(sourcePath))};`,
|
||||
};
|
||||
},
|
||||
};
|
||||
code: `module.exports = ${JSON.stringify(path.basename(sourcePath))};`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user