@alcumus/linting-rules
v0.0.6
Published
Linting rules to be shared between Alcumus projects.
Downloads
3
Keywords
Readme
Linting Rules
This repository contains common linting rules and other related rules/standards to be shared among multiple projects.
All changes to this project should be published under a new version number.
Using This Project
With access to the private npm repository:
- Install alcumus-common-tools.
- Install linting or all default tools.
Without access to the private npm repository:
npm i --save-dev alcumus-linting-rules
ln -s ./node_modules/alcumus-linting-rules/resources/.editorconfig .editorconfig
- Create a
.eslintrc.json
file (or similar fortslint
/stylelint
). - Add the following to the
.eslintrc.json
file:
{
"extends": [
"./node_modules/alcumus-linting-rules/resources/linting/eslint/default.js"
],
"root": true
}