1.1.1 • Published 1 year ago

@mile6/eslint-config-mile6-vue v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

eslint-config-mile6-vue

Install package and dependencies

npx install-peerdeps --dev @mile6/eslint-config-mile6-vue

Create and configure your .eslintrc.js

touch .eslintrc.js

Add the following to your .eslintrc.js

{
	"extends": "@mile6/mile6-vue"
}

Add scripts to package.json

Add the following two script to your package.json file.

You'll need to replace <src> with the location of the files you'd like ESLint to target. This may be different for each project.

"scripts": {
	"lint": "eslint --ext .ts,.js,.vue <src>",
	"lint:fix": "eslint --ext .ts,.js,.vue <src> --fix"
},

Run lint

Will display any errors or warnings ESLint finds in the codebase

npm run lint

Run fix

Will attempt to fix any errors or warnings that ESLint finds

npm run lint:fix
acornacorn-jsxajvansi-colorsansi-regexansi-stylesargparsearray-includesarray.prototype.flatbabel-plugin-dynamic-import-nodebabel-plugin-polyfill-corejs2babel-plugin-polyfill-corejs3babel-plugin-polyfill-regeneratorbabel-plugin-transform-react-remove-prop-typesbabel-preset-airbnbbalanced-matchbrace-expansionbrowserslistcall-bindcallsitescaniuse-litechalkcolor-convertcolor-nameconcat-mapconfusing-browser-globalsconvert-source-mapcore-js-compatcross-spawndebugdeep-isdefine-propertiesdoctrineelectron-to-chromiumenquireres-abstractes-to-primitiveescaladeescape-string-regexpeslint-config-airbnb-baseeslint-import-resolver-nodeeslint-module-utilseslint-scopeeslint-utilseslint-visitor-keysespreeesqueryesrecurseestraverseesutilsfast-deep-equalfast-json-stable-stringifyfast-levenshteinfile-entry-cachefind-upflat-cacheflattedfs.realpathfunction-bindfunctional-red-black-treegensyncget-intrinsicget-symbol-descriptionglobglob-parentglobalshashas-bigintshas-flaghas-symbolshas-tostringtagignoreimport-freshimurmurhashinflightinheritsinternal-slotis-bigintis-boolean-objectis-callableis-core-moduleis-date-objectis-extglobis-globis-negative-zerois-number-objectis-regexis-shared-array-bufferis-stringis-symbolis-weakrefisexejs-tokensjs-yamljsescjson-schema-traversejson-stable-stringify-without-jsonifyjson5levnlocate-pathlodashlodash.debouncelodash.mergelru-cacheminimatchminimistmsnatural-comparenode-releasesobject-inspectobject-keysobject.assignobject.entriesobject.valuesonceoptionatorp-locateparent-modulepath-existspath-is-absolutepath-keypath-parsepkg-dirprelude-lsprogresspunycoderegenerateregenerate-unicode-propertiesregenerator-runtimeregenerator-transformregexppregexpu-coreregjsgenregjsparserresolveresolve-fromrimrafsafe-buffersemvershebang-commandshebang-regexside-channelsource-mapstring.prototype.trimendstring.prototype.trimstartstrip-ansistrip-bomstrip-json-commentssupports-colortext-tableto-fast-propertiestsconfig-pathstype-checktype-festunbox-primitiveunicode-canonical-property-names-ecmascriptunicode-match-property-ecmascriptunicode-match-property-value-ecmascriptunicode-property-aliases-ecmascripturi-jsv8-compile-cachevue-eslint-parserwhichwhich-boxed-primitiveword-wrapwrappyyallist
1.1.1

1 year ago

1.1.0

1 year ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.1

2 years ago