4.0.0 • Published 4 years ago
eslint-config-foundryspatial v4.0.0
Foundry Spatial ESLint configuration
Install package:
npx install-peerdeps --dev eslint-config-foundryspatial
Add to ESLint config:
// .eslintrc.js
extends: [
// ...
'foundryspatial',
],
For VueJS projects, use foundryspatial/vue
, which extends our base config with extra Vue rules:
(Assumes the project is using Vue CLI's @vue/cli-plugin-eslint
)
// .eslintrc.js
extends: [
// ...
'plugin:vue/recommended',
'foundryspatial/vue',
],