@amedia/kragl
v4.0.2
Published
Scripts to Lint
Downloads
7,286
Maintainers
Keywords
Readme
kragl
Usage
npm install --save-dev @amedia/kragl
Add some scripts to your package.json
:
{
"devDependencies": {
"@amedia/kragl": "^0.0.0"
},
"scripts": {
"format": "kragl format",
"lint": "kragl lint",
"lint-fix": "kragl lint --fix"
}
}
Add a root .eslintrc.cjs
:
module.exports = {
extends: ['@amedia/eslint-config'],
};
Add a root prettier.config.cjs
:
module.exports = require('@amedia/prettier-config');