pokemon-showdown/dev-tools/eslint/config-compat.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

9 lines
100 B
JavaScript

'use strict';
module.exports = {
"extends": "./config-base.js",
"env": {
"browser": true
}
};