Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.eslintrc.js 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. 'use strict';
  2. module.exports = {
  3. extends: 'ash-nazg/sauron-node-overrides',
  4. settings: {
  5. polyfills: [
  6. 'console',
  7. 'document.body'
  8. ]
  9. },
  10. overrides: [{
  11. files: 'test/**.js',
  12. extends: [
  13. 'plugin:chai-friendly/recommended',
  14. 'plugin:chai-expect/recommended'
  15. ],
  16. env: {
  17. mocha: true
  18. },
  19. globals: {
  20. expect: true,
  21. assert: true
  22. },
  23. rules: {
  24. 'node/no-unsupported-features/es-syntax': 0
  25. }
  26. }, {
  27. files: 'tests/**.js',
  28. rules: {
  29. 'no-console': 0
  30. }
  31. }, {
  32. files: '*.md/*.js',
  33. globals: {
  34. require: false,
  35. RegExtras: false,
  36. condition: false,
  37. regex: false,
  38. str: false
  39. },
  40. rules: {
  41. 'unicorn/no-array-callback-reference': 0,
  42. 'node/no-unsupported-features/es-syntax': 0,
  43. 'node/no-extraneous-require': ['error', {allowModules: ['regextras']}],
  44. 'import/unambiguous': 0,
  45. 'import/no-commonjs': 0,
  46. 'import/no-extraneous-dependencies': 0,
  47. 'import/no-unresolved': 0,
  48. 'no-shadow': ['error', {allow: ['RegExtras']}],
  49. 'no-unused-vars': ['error', {
  50. varsIgnorePattern: 'matches|RegExtras|piglatinArray',
  51. argsIgnorePattern: 'matches'
  52. }]
  53. }
  54. }],
  55. rules: {
  56. // Disable for now
  57. 'prefer-named-capture-group': 0,
  58. 'require-unicode-regexp': 0,
  59. 'unicorn/prefer-spread': 0,
  60. 'eslint-comments/require-description': 0
  61. }
  62. };