mirror of
https://github.com/coder/coder.git
synced 2025-07-09 11:45:56 +00:00
14 lines
273 B
JavaScript
14 lines
273 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,
|
|
},
|
|
}
|