pokemon-showdown/dev-tools/eslint/config-test.js
Konrad Borowski 156e193bed Only enable certain ES6 features during ESLint test
Currently, only those features are allowed: let/const, classes, and
octal literals. More can be added when needed, as long main Showdown
server has a supporting Node.js's version.

This also accidentally fixes a bug which caused data files to not
be checked for `let`/`const` keyword existence, which would cause
a problem in a web browser.
2015-12-10 23:07:32 +01:00

12 lines
139 B
JavaScript

'use strict';
module.exports = {
"extends": "./config-es6.js",
"env": {
"mocha": true
},
"globals": {
"BattleEngine": false
}
};