From bc21501cc7f5549c3d33fb94682eae9d2ce01c47 Mon Sep 17 00:00:00 2001 From: Steve Mao Date: Thu, 23 Feb 2017 14:13:39 +1100 Subject: [PATCH] [eslint config] [base] [minor] add `**/*.spec.js` as a test files pattern (see #1131) --- packages/eslint-config-airbnb-base/rules/imports.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/eslint-config-airbnb-base/rules/imports.js b/packages/eslint-config-airbnb-base/rules/imports.js index 42706a50..20b282a0 100644 --- a/packages/eslint-config-airbnb-base/rules/imports.js +++ b/packages/eslint-config-airbnb-base/rules/imports.js @@ -76,6 +76,7 @@ module.exports = { 'test.js', // repos with a single test file 'test-*.js', // repos with multiple top-level test files '**/*.test.js', // tests where the extension denotes that it is a test + '**/*.spec.js', // tests where the extension denotes that it is a test '**/webpack.config.js', // webpack config '**/webpack.config.*.js', // webpack config '**/rollup.config.js', // rollup config