eslint-config-gourmet
ESLint shareable config for the Gourmet style.
Basic usage
.eslintrc.js
)
JavaScript format (module.exports = {
extends: "gourmet",
root: true
};
.eslintrc.json
)
JSON format ({
"extends": "gourmet",
"root": true
}
Configuration sets
You can choose a configuration set based on the type of your target environment by specifying the name after a slash like "gourmet/node"
.
node
: Node with ES6 syntax (default)react
: React Isomorphic Appgourmet_app
: Gourmet applicationsgourmet_lib
: Gourmet libraries using CommonJS only