dfklfg/packages/app/.eslintrc.cjs

22 lines
486 B
JavaScript
Raw Normal View History

2023-02-07 19:47:57 +00:00
module.exports = {
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "formatjs"],
rules: {
"formatjs/enforce-id": [
"error",
{
2023-11-20 19:16:47 +00:00
idInterpolationPattern: "[sha512:contenthash:base64:6]",
},
],
},
2023-02-07 19:47:57 +00:00
root: true,
2023-05-15 17:38:26 +00:00
ignorePatterns: ["build/", "*.test.ts", "*.js"],
2023-02-07 19:47:57 +00:00
env: {
browser: true,
worker: true,
commonjs: true,
2023-05-15 17:38:26 +00:00
node: false,
2023-08-26 21:55:21 +00:00
},
2023-02-07 19:47:57 +00:00
};