@taito/eslint-plugin-server

0.0.2 • Public • Published

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 updates src/configs/recommended.ts, lib/index.ts, and README.md's rule table. See also npm version CLI command.
  • npm run add-rule <RULE_ID> creates three files to add a new rule.

Package Sidebar

Install

npm i @taito/eslint-plugin-server

Weekly Downloads

3

Version

0.0.2

License

MIT

Unpacked Size

210 kB

Total Files

4

Last publish

Collaborators

  • taavettik
  • keskiju
  • taskuteemu
  • fleebee