0.1.13 • Published 6 months ago

@mochaa/eslintrc v0.1.13

Weekly downloads
-
License
0BSD
Repository
-
Last release
6 months ago

@mochaa/eslintrc

mochaa's shareable eslint config, version 0.

overview

  • more strict with unsafe practices.
  • tabs and semicolons. single quotes. no abbreviations.
  • type aware if using typescript.
  • proper react checks.
  • latest eslint features.
  • stylistically similar to xo, feature-wise antfu-ish.
  • maintained by someone with ocd.

rules

  1. fp first. use nothrow, avoid class, this in own code. prefer immutable data with const and readonly types.
  2. use arrow functions to annotate pure functions. otherwise use traditional function declaration.
  3. use full name instead of acronym or abbreviation.

use

import rules from '@mochaa/eslintrc';

export default rules;
0.1.13

6 months ago

0.1.12

11 months ago

0.1.11

11 months ago

0.1.9

11 months ago

0.1.8

11 months ago

0.1.7

11 months ago

0.1.6

11 months ago

0.1.5

11 months ago

0.1.4

11 months ago

0.1.3

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago