| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6205e29 commit 49013fc
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -95,7 +95,13 @@ module.exports = { | |||
| 95 | 95 | ignorePattern: '.*', | |
| 96 | 96 | }, | |
| 97 | 97 | }], | |
| 98 | - 'comma-dangle': ['error', 'only-multiline'], | ||
| 98 | + 'comma-dangle': ['error', { | ||
| 99 | + arrays: 'always-multiline', | ||
| 100 | + exports: 'only-multiline', | ||
| 101 | + functions: 'only-multiline', | ||
| 102 | + imports: 'only-multiline', | ||
| 103 | + objects: 'only-multiline', | ||
| 104 | + }], | ||
| 99 | 105 | 'comma-spacing': 'error', | |
| 100 | 106 | 'comma-style': 'error', | |
| 101 | 107 | 'computed-property-spacing': 'error', | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,6 +5,8 @@ env: | |||
| 5 | 5 | es6: true | |
| 6 | 6 | ||
| 7 | 7 | rules: | |
| 8 | + # For now, comma-dangle is more lenient in the test directory than elsewhere. | ||
| 9 | + comma-dangle: ["error", "only-multiline"] | ||
| 8 | 10 | no-var: error | |
| 9 | 11 | prefer-const: error | |
| 10 | 12 | symbol-description: off | |
| Back | FazBrowse Home | New Git URL |
0 commit comments