github.com/outbrain/consul@v1.4.5/ui-v2/.eslintrc.js (about) 1 module.exports = { 2 root: true, 3 parserOptions: { 4 ecmaVersion: 2017, 5 sourceType: 'module', 6 ecmaFeatures: { 7 experimentalObjectRestSpread: true 8 } 9 }, 10 plugins: ['ember'], 11 extends: ['eslint:recommended', 'plugin:ember/recommended'], 12 env: { 13 browser: true, 14 }, 15 rules: { 16 'no-unused-vars': ['error', { args: 'none' }] 17 }, 18 overrides: [ 19 // node files 20 { 21 files: ['testem.js', 'ember-cli-build.js', 'config/**/*.js'], 22 parserOptions: { 23 sourceType: 'script', 24 ecmaVersion: 2015, 25 }, 26 env: { 27 browser: false, 28 node: true, 29 }, 30 }, 31 32 // test files 33 { 34 files: ['tests/**/*.js'], 35 excludedFiles: ['tests/dummy/**/*.js'], 36 env: { 37 embertest: true, 38 }, 39 }, 40 ], 41 };