Skip to content

Commit be0a129

Browse files
committed
move general rules out of app config
1 parent a7b8b84 commit be0a129

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/configs/app.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ module.exports = {
33
rules: {
44
'github/authenticity-token': 'error',
55
'github/js-class-name': 'error',
6-
'github/no-d-none': 'error',
7-
'github/no-dataset': 'error',
8-
'github/no-then': 'error'
6+
'github/no-d-none': 'error'
97
},
108
extends: [require.resolve('./recommended'), require.resolve('./browser')]
119
}

lib/configs/browser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ module.exports = {
88
'github/async-preventdefault': 'error',
99
'github/get-attribute': 'error',
1010
'github/no-blur': 'error',
11+
'github/no-dataset': 'error',
1112
'github/no-innerText': 'error',
1213
'github/unescaped-html-literal': 'error'
1314
},

lib/configs/recommended.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ module.exports = {
2121
'func-style': ['error', 'declaration', {allowArrowFunctions: true}],
2222
'github/array-foreach': 'error',
2323
'github/no-implicit-buggy-globals': 'error',
24+
'github/no-then': 'error',
2425
'import/default': 'error',
2526
'import/export': 'error',
2627
'import/first': 'error',

0 commit comments

Comments
 (0)