From 1ad62d9684ce5e04d96caf5094610a7fc2436f60 Mon Sep 17 00:00:00 2001 From: winniehell Date: Wed, 2 Nov 2016 11:36:44 +0100 Subject: Check that JavaScript file names match convention (!7238) --- .eslintrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.eslintrc') diff --git a/.eslintrc b/.eslintrc index 16eb18ecba2..b58007d90a9 100644 --- a/.eslintrc +++ b/.eslintrc @@ -1,5 +1,11 @@ { "extends": "airbnb", + "plugins": [ + "filenames" + ], + "rules": { + "filenames/match-regex": [2, "^[a-z_]+$"] + }, "globals": { "$": false, "_": false, -- cgit v1.2.3