@chamaileon-sdk/eslint-config
v3.0.0
Published
ESlint base config for Chamaileon SDK repositories
Downloads
7
Readme
Chamaileon eslint config
Config is still under refinement, subject to change.
Usage
cd [PROJECT_FOLDER]
npm i @chamaileon-sdk/eslint-config --save-dev
Then add to the repository/project's eslintrc.js:
module.exports = {
extends: [
"@chamaileon-sdk/eslint-config/lib/defaults", // Default rules for backend + frontend
"@chamaileon-sdk/eslint-config/lib/vue", // When it's a frontend code with Vue
"@chamaileon-sdk/eslint-config/lib/vitest", // When the tests are written with vitest
"@chamaileon-sdk/eslint-config/lib/jest" // When the test are written with jest
]
}