|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 13 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
624 bytes
|
| Line | |
|---|
| 1 | /**
|
|---|
| 2 | * The basics.
|
|---|
| 3 | * @type {Object}
|
|---|
| 4 | */
|
|---|
| 5 | module.exports = {
|
|---|
| 6 | plugins: ['import'],
|
|---|
| 7 |
|
|---|
| 8 | rules: {
|
|---|
| 9 | // analysis/correctness
|
|---|
| 10 | 'import/no-unresolved': 'error',
|
|---|
| 11 | 'import/named': 'error',
|
|---|
| 12 | 'import/namespace': 'error',
|
|---|
| 13 | 'import/default': 'error',
|
|---|
| 14 | 'import/export': 'error',
|
|---|
| 15 |
|
|---|
| 16 | // red flags (thus, warnings)
|
|---|
| 17 | 'import/no-named-as-default': 'warn',
|
|---|
| 18 | 'import/no-named-as-default-member': 'warn',
|
|---|
| 19 | 'import/no-duplicates': 'warn',
|
|---|
| 20 | },
|
|---|
| 21 |
|
|---|
| 22 | // need all these for parsing dependencies (even if _your_ code doesn't need
|
|---|
| 23 | // all of them)
|
|---|
| 24 | parserOptions: {
|
|---|
| 25 | sourceType: 'module',
|
|---|
| 26 | ecmaVersion: 2018,
|
|---|
| 27 | },
|
|---|
| 28 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.