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
- eslint-plugin-no-only-tests
- eslint-plugin-no-skip-tests
- eslint-plugin-test-selectors // NOTE: Only runs against JSX
Add note to check promising plugins in the future.
Add test files to demonstrate new rules and update snapshot.
Release version 2.0.0.
Copy file name to clipboardExpand all lines: .eslintrc.js
+8-4Lines changed: 8 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,19 @@
1
1
// Basic .eslintrc.js file that loads the the frontier shared eslint configuration, and then the extension/override provided by the configuration in index.js just for local demonstration purposes. Also contains example `deprecate` rules.
2
2
module.exports={
3
3
extends: [
4
-
'frontier',
5
-
'./index.js',
6
-
'plugin:eslint-plugin-sonarjs/recommended'
4
+
'eslint-config-frontier',
5
+
'plugin:eslint-plugin-sonarjs/recommended',
6
+
'plugin:promise/recommended',
7
+
'./index.js'
7
8
],
8
9
plugins: [
9
10
// Enable plugins that are not natively supported by Code Climate. Otherwise results in build errors.
10
11
'eslint-plugin-bestpractices',
11
12
'eslint-plugin-deprecate',
12
-
'eslint-plugin-sonarjs'
13
+
'eslint-plugin-no-only-tests',
14
+
'eslint-plugin-no-skip-tests',
15
+
'eslint-plugin-sonarjs',
16
+
'eslint-plugin-test-selectors'// NOTE: Only runs against JSX
Copy file name to clipboardExpand all lines: index.js
+18-3Lines changed: 18 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
module.exports={
2
2
extends: [
3
-
'eslint-config-standard'
3
+
'eslint-config-standard',
4
+
'plugin:promise/recommended'
4
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.
5
6
],
6
7
env: {
@@ -48,7 +49,10 @@ module.exports = {
48
49
'eslint-plugin-html',
49
50
'eslint-plugin-jsdoc',
50
51
'eslint-plugin-json'
51
-
// 'eslint-plugin-sonarjs'
52
+
// 'eslint-plugin-no-only-tests',
53
+
// 'eslint-plugin-no-skip-tests',
54
+
// 'eslint-plugin-sonarjs',
55
+
// 'eslint-plugin-test-selectors' // NOTE: Only runs against JSX
52
56
],
53
57
/**
54
58
* @property rules - Tree custom rule and additional linter configuration.
0 commit comments