eslint-config-cybanjarjs
v2.1.1
Published
Eslint config for Javascript
Readme
eslint-config-cybanjarjs
Eslint Shareable Config which lint and pretify your code
Usage
First, run this command
yarn add -D [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] eslint-config-cybanjarjsThen, add this to your .eslintrc file:
{
"extends": "cybanjarjs"
}Example
eslintrc.js
module.exports = {
root: true,
env: {
browser: true,
node: true
},
parserOptions: {
parser: 'babel-eslint'
},
extends: [
'cybanjarjs'
],
globals: {
$: true,
},
overrides: [
{
files: ['src/**/*.vue'],
}
],
rules: {
'unicorn/prevent-abbreviations': 0
}
}License
This project is licensed under the MIT License - see the LICENSE file for details
