eslint-plugin-eigenspace-script
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

Eigenspace eslint plugin for scripts

Eigenspace`s rules and configuration for web projects

Project structure

We use same project structure as all plugin uses. Example of project structure can be found there

Code writing guide

Environmental requirements

  • eslint: 5.x

Rules for ESLint

To use this set of rules you should add them to your config. In .eslintrc.js do following:

module.exports = {
    extends: [
        'plugin:eigenspace-script/all'
    ]
};

Configurations for development environments

Why do we have that dependencies?

  • @typescript-eslint/eslint-plugin - plugin to adapt eslint to typescript.
  • @typescript-eslint/experimental-utils - using ast types
  • @typescript-eslint/parser - parser typescript code for eslint.
  • eslint-plugin-unicorn - eslint rule package.
  • eslint-utils - eslint-utils package that helps with rules development.

Why do we have that dev dependencies?

  • @eigenspace/helper-scripts - common scripts for dev. environment.
  • @types/* - contains type definitions for specific library.
  • typescript - is a superset of JavaScript that have static type-checking and ECMAScript features.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-plugin-eigenspace-script

Weekly Downloads

6

Version

0.1.4

License

MIT

Unpacked Size

42.3 kB

Total Files

17

Last publish

Collaborators

  • eigenspace