@sikaeducation/eslint-config v3.1.12
Sika's ESLint Config
Install with npm install -D eslint @sikaeducation/eslint-config
.
Usage
# Install dependencies for TS and React
npm i -D eslint @sikaeducation/eslint-config
// .eslintrc.js
module.exports = {
extends: [
"@sikaeducation",
"@sikaeducation/eslint-config/src/configs/vitest",
],
};
- Integrate this with your editor's ESLint plugin for fix-on-save. Neovim's is part of
nvim-lsp-config
. If the app istype: "module"
, use.eslintrc.cjs
.
Available Configs
"@sikaeducation/eslint-config/src/configs/js"
"@sikaeducation/eslint-config/src/configs/ts"
"@sikaeducation/eslint-config/src/configs/react"
"@sikaeducation/eslint-config/src/configs/react-ts"
"@sikaeducation/eslint-config/src/configs/jest"
"@sikaeducation/eslint-config/src/configs/jest-ts"
"@sikaeducation/eslint-config/src/configs/storybook"
"@sikaeducation/eslint-config/src/configs/playwright-test"
"@sikaeducation/eslint-config/src/configs/playwright-jest"
"@sikaeducation/eslint-config/src/configs/vitest"
Default is JS+TS+React+React TS.
Deployment
Set NPM_TOKEN
on GitHub Actions to publish. Generate it on Sika's npm page then add it to the secrets page.
Publish updates by incrementing version with npm version patch|minor|major
) and pushing.
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago