@taito/eslint-plugin-server
v0.0.2
Published
Eslint plugin for usage with the Taito United [Full Stack Template](https://github.com/TaitoUnited/full-stack-template) backend.
Downloads
16
Readme
eslint-plugin-taito-backend (template)
Eslint plugin for usage with the Taito United Full Stack Template backend.
Installation
Use npm or a compatibility tool to install.
$ npm install --save-dev eslint
Requirements
- Node.js v8.10.0 or newer versions.
- ESLint v5.16.0 or newer versions.
Usage
Write your config file such as .eslintrc.yml
.
{
"plugins": [
"@taito/eslint-plugin-server"
],
"extends": [
"plugin:@taito/eslint-plugin-server/recommended"
]
}
See also Configuring ESLint.
Configs
@taito/eslint-plugin-server/recommended
... enables the recommended rules.
Rules
problem
| Rule ID | Description | | |:--------|:------------|:--:| | @taito/server/authorize-service-calls | All non-private service methods must be authorized | ⭐️ |
Semantic Versioning Policy
This plugin follows Semantic Versioning and ESLint's Semantic Versioning Policy.
Changelog
Contributing
Welcome your contribution!
See also ESLint Contribution Guide.
Development Tools
npm test
runs tests.npm run update
updates the package version. And it updatessrc/configs/recommended.ts
,lib/index.ts
, andREADME.md
's rule table. See also npm version CLI command.npm run add-rule <RULE_ID>
creates three files to add a new rule.