|
1 | 1 | /* eslint-disable n/no-extraneous-import */
|
2 | 2 |
|
3 | 3 | import js from "@eslint/js";
|
| 4 | +import keybr from "@keybr/scripts/lib/eslint-plugin-keybr.js"; |
4 | 5 | import confusingBrowserGlobals from "confusing-browser-globals";
|
5 | 6 | import ava from "eslint-plugin-ava";
|
6 | 7 | import formatjs from "eslint-plugin-formatjs";
|
@@ -32,6 +33,7 @@ export default [
|
32 | 33 | react.configs.flat["jsx-runtime"],
|
33 | 34 | node.configs["flat/recommended-module"],
|
34 | 35 | ava.configs["flat/recommended"],
|
| 36 | + keybr.configs["recommended"], |
35 | 37 | {
|
36 | 38 | ignores: ["packages/server/**", "packages/server-cli/**"],
|
37 | 39 | plugins: { "react-hooks": reactHooks },
|
@@ -87,10 +89,7 @@ export default [
|
87 | 89 | // configure node
|
88 | 90 | "n/file-extension-in-import": ["error", "always"],
|
89 | 91 | "n/hashbang": "off",
|
90 |
| - "n/no-path-concat": "off", |
91 | 92 | "n/no-process-exit": "off",
|
92 |
| - "n/no-unsupported-features/es-builtins": "off", |
93 |
| - "n/no-unsupported-features/es-syntax": "off", |
94 | 93 | "n/no-unsupported-features/node-builtins": "off",
|
95 | 94 | "n/prefer-global/buffer": ["error", "always"],
|
96 | 95 | "n/prefer-global/console": ["error", "always"],
|
|
0 commit comments