We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 663dbbf commit a37fec5Copy full SHA for a37fec5
tests/check-rules.js
@@ -10,4 +10,10 @@ describe('smoke tests', () => {
10
const files = new Set(fs.readdirSync('./lib/rules').map(f => path.basename(f, path.extname(f))))
11
assert.deepEqual(files, exportedRules)
12
})
13
+
14
+ it('exports every config in lib/config as .configs', () => {
15
+ const exportedConfigs = new Set(Object.keys(config.configs))
16
+ const files = new Set(fs.readdirSync('./lib/configs').map(f => path.basename(f, path.extname(f))))
17
+ assert.deepEqual(files, exportedConfigs)
18
+ })
19
0 commit comments