0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-23 13:19:01 -05:00

Added config and test files to lint

This commit is contained in:
liabru 2019-09-28 15:15:54 +01:00
parent 1fcf29279f
commit 21e4ea6044
6 changed files with 11 additions and 2 deletions

View file

@ -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"
}

View file

@ -1,3 +1,4 @@
/* eslint-env es6 */
"use strict";
const gulp = require('gulp');

View file

@ -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",

View file

@ -1,3 +1,5 @@
/* eslint-env es6 */
/* eslint no-global-assign: 0 */
"use strict";
const Common = require('./Common');

View file

@ -1,3 +1,4 @@
/* eslint-env es6 */
"use strict";
const webpack = require('webpack');

View file

@ -1,3 +1,4 @@
/* eslint-env es6 */
"use strict";
const webpack = require('webpack');