-
-
Notifications
You must be signed in to change notification settings - Fork 212
Expand file tree
/
Copy pathindex.js
More file actions
23 lines (21 loc) · 702 Bytes
/
index.js
File metadata and controls
23 lines (21 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
'use strict';
const requireIndex = require('requireindex');
const noop = require('ember-eslint-parser/noop');
const templateLintDisableProcessor = require('./processors/template-lint-disable');
const pkg = require('../package.json'); // eslint-disable-line import/extensions
module.exports = {
meta: {
name: pkg.name,
version: pkg.version,
},
rules: requireIndex(`${__dirname}/rules`),
configs: requireIndex(`${__dirname}/config-legacy`),
utils: {
ember: require('./utils/ember'),
},
processors: {
// https://eslint.org/docs/developer-guide/working-with-plugins#file-extension-named-processor
noop,
'template-lint-disable': templateLintDisableProcessor,
},
};