Skip to content

Commit

Permalink
Added config and test files to lint
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Sep 28, 2019
1 parent 1fcf292 commit 21e4ea6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@
"Svg": false,
"Metrics": false,
"Example": false,
"__MATTER_VERSION__": false
"__MATTER_VERSION__": false,
"jest": false,
"test": false,
"expect": false,
"describe": false
},
"extends": "eslint:recommended"
}
1 change: 1 addition & 0 deletions Gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-env es6 */
"use strict";

const gulp = require('gulp');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"build": "webpack --mode=production & webpack --mode=production --env.MINIMIZE",
"build-alpha": "webpack --mode=production --env.EDGE & webpack --mode=production --env.MINIMIZE --env.EDGE",
"build-examples": "webpack --config webpack.examples.config.js --mode=production --env.EDGE & webpack --config webpack.examples.config.js --mode=production --env.MINIMIZE --env.EDGE",
"lint": "eslint 'src/**/*.js' 'demo/js/Demo.js' 'examples/*.js'",
"lint": "eslint 'src/**/*.js' 'demo/js/Demo.js' 'examples/*.js' 'test/*.spec.js' 'webpack.*.js' 'Gulpfile.js'",
"doc": "gulp doc",
"test": "jest",
"test-snapshot": "TEST_SNAPSHOTS=true jest --ci",
Expand Down
2 changes: 2 additions & 0 deletions test/Examples.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-env es6 */
/* eslint no-global-assign: 0 */
"use strict";

const Common = require('./Common');
Expand Down
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-env es6 */
"use strict";

const webpack = require('webpack');
Expand Down
1 change: 1 addition & 0 deletions webpack.examples.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-env es6 */
"use strict";

const webpack = require('webpack');
Expand Down

0 comments on commit 21e4ea6

Please sign in to comment.