1 | module.exports = {
|
2 | env: {
|
3 | es6: true
|
4 | },
|
5 | parserOptions: {
|
6 | sourceType: "module"
|
7 | },
|
8 | settings: {
|
9 | "import/extensions": [".js", ".jsx"],
|
10 | "import/ignore": [
|
11 | "node_modules",
|
12 | "\\.(coffee|scss|css|less|hbs|svg|json)$"
|
13 | ],
|
14 | "import/resolver": {
|
15 | node: {
|
16 | extensions: [".js", ".json"]
|
17 | }
|
18 | }
|
19 | },
|
20 | rules: {
|
21 |
|
22 | "@swissquote/swissquote/import/export": "error",
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 | "@swissquote/swissquote/import/first": "error",
|
29 | "@swissquote/swissquote/import/newline-after-import": "error",
|
30 | "@swissquote/swissquote/import/no-absolute-path": "error",
|
31 | "@swissquote/swissquote/import/no-webpack-loader-syntax": "error"
|
32 | }
|
33 | };
|