@hansevision/eslint-config
v1.0.17
Published
Shareable ESLint configuration with TypeScript support
Readme
@hansevision/eslint-config
A shareable, opinionated ESLint configuration for TypeScript projects. (SPFX OnPrem)
Installation
Install the package and its peer dependencies:
npm install -D @hansevision/eslint-config eslint@^7.25.0 @typescript-eslint/eslint-plugin@6 @typescript-eslint/parser@6 eslint-plugin-sonarjs@^0.25.1Usage
Create an .eslintrc.json file in your project root:
{
"root": true,
"extends": ["@hansevision/eslint-config"]
}Development
# Install dependencies
npm install
# Build the package
npm run build
# Watch mode
npm run dev
# Lint the source
npm run lint