0.0.3 • Published 4 years ago
eslint-config-airspace v0.0.3
eslint-config-airspace
Official ESLint rules for Airspace, an opinionated component library based on Tailwind CSS
It was authored to make Vue project linting easier based on a shared eslint, stylelint, and prettier configuration.
Features
- Babel-Eslint parser usage of es2020 (es11)
- Prettier and Stylelint support
- Vue configuration
Installation
npm i -D eslint-config-airspace
# or
yarn add -D eslint-config-airspace
Then install the correct versions of each peerDependency package, which are listed by the command:
npm info "eslint-config-airspace@latest" peerDependencies
If using npm 5+, use this shortcut:
npx install-peerdeps -D eslint-config-airspace
# or
yarn add -D --peer eslint-config-airspace
Usage
Add it to your .eslintrc
file:
{
"extends": [
"eslint-config-airspace"
]
}
or .eslintrc.js
:
module.exports = {
extends: 'eslint-config-airspace',
}
License
Code released under MIT license.
Copyright (c) 2020, Shane McGuirt.