mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
14 lines
275 B
JavaScript
14 lines
275 B
JavaScript
// Toggle eslint --fix by specifying the `FIX` env.
|
|
const fix = !!process.env.FIX;
|
|
|
|
module.exports = {
|
|
cliOptions: {
|
|
ext: [".js", ".ts", ".tsx"],
|
|
ignorePath: ".eslintignore",
|
|
cache: false,
|
|
fix,
|
|
resolvePluginsRelativeTo: ".",
|
|
maxWarnings: 0,
|
|
},
|
|
};
|