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:
parent
1fcf29279f
commit
21e4ea6044
6 changed files with 11 additions and 2 deletions
|
@ -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,3 +1,4 @@
|
|||
/* eslint-env es6 */
|
||||
"use strict";
|
||||
|
||||
const gulp = require('gulp');
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
/* eslint-env es6 */
|
||||
/* eslint no-global-assign: 0 */
|
||||
"use strict";
|
||||
|
||||
const Common = require('./Common');
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* eslint-env es6 */
|
||||
"use strict";
|
||||
|
||||
const webpack = require('webpack');
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
/* eslint-env es6 */
|
||||
"use strict";
|
||||
|
||||
const webpack = require('webpack');
|
||||
|
|
Loading…
Reference in a new issue