We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e240010 commit 5e37dd9Copy full SHA for 5e37dd9
.eslintrc
eslint.config.mjs
@@ -0,0 +1,31 @@
1
+import { defineConfig } from "eslint/config";
2
+import prettier from "eslint-plugin-prettier";
3
+import typescriptEslint from "@typescript-eslint/eslint-plugin";
4
+import tsParser from "@typescript-eslint/parser";
5
+
6
+export default defineConfig([{
7
+ plugins: {
8
+ prettier,
9
+ "@typescript-eslint": typescriptEslint,
10
+ },
11
12
+ languageOptions: {
13
+ parser: tsParser,
14
+ ecmaVersion: 2020,
15
+ sourceType: "module",
16
17
+ parserOptions: {
18
+ impliedStrict: true,
19
20
+ ecmaFeatures: {
21
22
+ experimentalObjectRestSpread: true,
23
24
25
26
27
+ files: ["**/*.ts"],
28
+ rules: {
29
+ "prettier/prettier": "error",
30
31
+}]);
0 commit comments