1 | "use strict";
|
2 |
|
3 | var _path = require("path");
|
4 |
|
5 | var _modifiers = require("./modifiers");
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 | module.exports = {
|
13 | defaultConfig: {
|
14 | cliConfig: {
|
15 | ignorePattern: "coverage"
|
16 | },
|
17 | modifiers: {
|
18 | frontend: { react: true },
|
19 | global: {
|
20 | es2015: true,
|
21 | "no-code-style": false
|
22 | }
|
23 | }
|
24 | },
|
25 | extensions: [".js", ".jsx", ".md"],
|
26 | modifiers: {
|
27 | es2015: _modifiers.es2015,
|
28 | "no-code-style": _modifiers.codeStyle,
|
29 | react: _modifiers.react
|
30 | },
|
31 | targetsPath: {
|
32 | frontend: (0, _path.resolve)(__dirname, "rules", "frontend.eslintrc"),
|
33 | global: (0, _path.resolve)(__dirname, "rules", "global.eslintrc")
|
34 | }
|
35 | }; |
\ | No newline at end of file |