Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

.eslintrc.cjs 538 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  1. module.exports = {
  2. root: true,
  3. parser: "@typescript-eslint/parser",
  4. extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
  5. plugins: ["svelte3", "@typescript-eslint"],
  6. ignorePatterns: ["*.cjs"],
  7. overrides: [{ files: ["*.svelte"], processor: "svelte3/svelte3" }],
  8. settings: {
  9. "svelte3/typescript": () => require("typescript"),
  10. },
  11. parserOptions: {
  12. sourceType: "module",
  13. ecmaVersion: 2020,
  14. },
  15. rules: {
  16. "no-shadow": ["error"],
  17. },
  18. env: {
  19. browser: true,
  20. es2017: true,
  21. node: true,
  22. },
  23. };
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...