3.0.1 • Published 1 year ago
ul-config-eslint v3.0.1
eslint-config
eslint config
install package
npm i -D ul-config-eslint
Initialize eslint
- create
.eslintrc.cjs
file in app root dir - add settings to
.eslintrc.cjs
config inmodule.exports = {}
extends: [ './node_modules/ul-config-eslint' ]
- run eslint to test and/or fix the code you need to write in the shell:
eslint --debug src/ --ext js,vue,jsx
eslint src/ --ext js,vue,jsx --fix