You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.js
+17-3Lines changed: 17 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
module.exports={
2
2
extends: [
3
-
'eslint-config-standard',
4
-
'plugin:promise/recommended'
3
+
'eslint-config-standard'
4
+
// 'plugin:promise/recommended' // Disabled, because Code Climate does not support promise.
5
5
// 'plugin:eslint-plugin-sonarjs/recommended' // Disabled globally, for now, because it is a much higher standard than Tree's existing code currently adheres to. Enable on a case-by-case basis, if you wish.
6
6
],
7
7
env: {
@@ -41,7 +41,7 @@ module.exports = {
41
41
parser: 'babel-eslint',
42
42
/**
43
43
* @property plugins - Tree additional linter plugins.
44
-
* @note - Code Climate does not support deprecate and sonarjs, and breaks if they are present. You will need to add these plugins individually in your .eslintrc.js file.
44
+
* @note - Code Climate does not support bestpractices, deprecate, no-only-tests, no-skip-tests, sonarjs, and test-selectors, and breaks if they are present. You will need to add these plugins individually in your .eslintrc.js file.
45
45
*/
46
46
plugins: [
47
47
// 'eslint-plugin-bestpractices',
@@ -51,6 +51,7 @@ module.exports = {
51
51
'eslint-plugin-json'
52
52
// 'eslint-plugin-no-only-tests',
53
53
// 'eslint-plugin-no-skip-tests',
54
+
// 'eslint-plugin-promise',
54
55
// 'eslint-plugin-sonarjs',
55
56
// 'eslint-plugin-test-selectors' // NOTE: Only runs against JSX
0 commit comments