1.1.4 • Published 5 months ago

@delement/eslint-config-master v1.1.4

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

ESLint rules from Digital Element

Usage

In eslint.config.js flat configuration file:

import eslintConfig from "@delement/eslint-config-master";

export default [
  ...eslintConfig,
  // Rules overwriting...
];

Features

  • support for TS, TSX, JS, MTS, JSX, Node, Service worker and Jest syntax;
  • modern JavaScript code standard from ES6+;
  • import alphabet order, JSDoc validation, require of semicolons and more cool things.
  • ban for @ts-ignore comments;
  • all namings of interfaces use PascalCase with I letter, all types use T letter;

Note

Folders "node_modules", "build", "public", "assets", "dist", ".temp", ".cache" ignored by default.