Skip to content

Commit 1b92673

Browse files
committed
Add wildcard to ESLint to target all files
1 parent e6241d5 commit 1b92673

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.eslintrc

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"extends": "airbnb/legacy",
3+
"env": {
4+
"es6": true
5+
},
36
"globals": {
47
"Promise": true
58
},

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"scripts": {
4848
"test": "npm run mocha && npm run lint",
4949
"mocha": "mocha test/index.js --reporter spec --slow 400 --timeout 8000",
50-
"lint": "eslint lib/index.js test/test.js bin/suitcss",
50+
"lint": "eslint lib/*.js test/**/*.js bin/suitcss",
5151
"watch": "npm run mocha -- --watch"
5252
},
5353
"keywords": [

test/config/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module.exports = {
22
lint: true,
33
use: [
4-
"postcss-property-lookup"
4+
'postcss-property-lookup'
55
],
66
autoprefixer: {
77
add: false,

0 commit comments

Comments
 (0)