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.js 433 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
24
25
26
27
28
29
  1. module.exports = {
  2. env: {
  3. browser: true,
  4. commonjs: true,
  5. es2020: true,
  6. node: true
  7. },
  8. parser: '@babel/eslint-parser',
  9. extends: [
  10. 'eslint:recommended',
  11. 'standard'
  12. ],
  13. parserOptions: {
  14. ecmaVersion: 11
  15. },
  16. rules: {
  17. 'import/no-extraneous-dependencies': ['error']
  18. },
  19. overrides: [
  20. {
  21. files: [
  22. '**/tests/**/*.js'
  23. ],
  24. env: {
  25. jest: true
  26. }
  27. }
  28. ]
  29. }
Tip!

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

Comments

Loading...