@apeframework/eslint
v0.4.0
Published
Ape Framework ESLint configuration
Readme
Ape Framework ESLint configuration
Ape Framework ESLint configuration.
NPM package: @apeframework/eslint.
GitHub repository: MattSyms/apeframework-eslint.
Installation
yarn add @apeframework/eslint --devUsage (eslint.config.js)
Node configuration:
import base from '@apeframework/eslint/base'
import typescript from '@apeframework/eslint/typescript'
const config = [
base(),
{
files: ['*.ts', '**/*.ts'],
...typescript(),
},
]
export {
config as default,
}Browser configuration:
import base from '@apeframework/eslint/base'
import typescript from '@apeframework/eslint/typescript'
import vue from '@apeframework/eslint/vue'
const config = [
base('browser'),
{
files: ['*.ts', '**/*.ts'],
...typescript('browser'),
},
{
files: ['*.vue', '**/*.vue'],
...vue,
},
]
export {
config as default,
}Development
Install dependencies:
yarnUpdate dependencies:
yarn updateAnalyze rules:
yarn analyzeCompile:
yarn compileLint:
yarn lintRelease:
Tag stable release:
git tag v<major>.<minor>.<patch>Tag dev release:
git tag v0.0.0-dev.<number>Push tags:
git push --tags