zap.stream/.eslintrc.cjs

22 lines
486 B
JavaScript
Raw Normal View History

2023-07-20 12:25:21 +00:00
module.exports = {
2023-08-22 21:50:26 +00:00
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
parser: "@typescript-eslint/parser",
2023-12-04 11:01:56 +00:00
plugins: ["@typescript-eslint", "formatjs"],
rules: {
"formatjs/enforce-id": [
"error",
{
idInterpolationPattern: "[sha512:contenthash:base64:6]",
},
],
},
2023-08-22 21:50:26 +00:00
root: true,
ignorePatterns: ["build/", "*.test.ts", "*.js"],
env: {
browser: true,
worker: true,
commonjs: true,
node: false,
},
};