To use this module, you must add it as a dependency in your project's package.json
file:
Specify the tagged version of the config to install
yarn add LawPath/eslint-config.git#v1.0.0 --dev
{
"devDependencies": {
"LawPath/eslint-config.git#v1.0.0"
}
}
Browser config add this configuration to your package.json
:
{
"eslintConfig": {
"extends": "./node_modules/eslint-config/browser.js"
}
}
Server config add this configuration to your package.json
:
{
"eslintConfig": {
"extends": "./node_modules/eslint-config/server.js"
}
}