forked from QhlabTeam/qhlab-eslint-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
21 lines (16 loc) · 714 Bytes
/
index.js
File metadata and controls
21 lines (16 loc) · 714 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/**
* @fileoverview Eslint plugins for QhLab
* @author @qhlab/eslint-plugin
*/
'use strict';
// ------------------------------------------------------------------------------
// Requirements
// ------------------------------------------------------------------------------
const requireIndex = require('requireindex');
// ------------------------------------------------------------------------------
// Plugin Definition
// ------------------------------------------------------------------------------
// import all rules in lib/rules
// module.exports.rules = requireIndex(__dirname + '/lib/rules')
// import all configs in lib/configs
module.exports.configs = requireIndex(`${__dirname}/lib/configs`);