.eslintrc.js 390 B

123456789101112131415161718192021222324
  1. /* eslint-env node */
  2. module.exports = {
  3. plugins: [ 'metafizzy' ],
  4. extends: 'plugin:metafizzy/browser',
  5. env: {
  6. browser: true,
  7. commonjs: true,
  8. },
  9. parserOptions: {
  10. ecmaVersion: 5,
  11. },
  12. globals: {
  13. Draggabilly: 'readonly',
  14. QUnit: 'readonly',
  15. },
  16. rules: {
  17. 'no-var': 'off',
  18. 'id-length': 'off',
  19. },
  20. ignorePatterns: [
  21. 'bower_components/',
  22. ],
  23. };