1.0.1 • Published 8 years ago
eslint-config-posrix v1.0.1
eslint-config-posrix
Personal workspace Eslint config
Installation
yarn add eslint-config-posrix --devor npm
npm install eslint-config-posrix --save-devUsage
Create a .eslintrc file to extend the ruleset.
{
"extends": "posrix"
}If you're using React in your project, you'll need to extend the React extension of the configuration.
{
"extends": "posrix/react"
}If you're using Vue in your project, you'll need to extend the Vue extension of the configuration.
{
"extends": "posrix/vue"
}Globals
{
"globals": {
"$": true
}
}Environments
{
"env": {
"browser": true,
"node": true
}
}License
The MIT License (MIT). Please see License File for more information.