4.1.0 • Published 7 months ago

eslint-config-agile-digital v4.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

eslint-config-agile-digital

Agile Digital's standard ESLint config

Build Status Type Coverage npm Snyk Vulnerabilities for GitHub Repo

Installation

yarn add --dev eslint-config-agile-digital \
  eslint-config-typed-fp \
  @typescript-eslint/eslint-plugin \
  @typescript-eslint/parser \
  eslint \
  eslint-plugin-functional \
  eslint-plugin-total-functions \
  eslint-plugin-jest \
  eslint-plugin-prettier \
  eslint-plugin-sonarjs \
  eslint-plugin-import \
  eslint-plugin-react \
  eslint-plugin-react-hooks \
  eslint-plugin-jsx-a11y \
  typescript

Usage

  1. Turn on TypeScript's strict mode and noUncheckedIndexedAccess option.
  2. Set up ESLint + TypeScript.
  3. Update your .eslintrc.js:
module.exports = {
+  parser: "@typescript-eslint/parser",
  parserOptions: {
+    project: "./tsconfig.json",
+    ecmaVersion: 2018,
+    sourceType: "module"
  },
  extends: [
+  "agile-digital",
+  "agile-digital/react", // In addition to the above if this is a React project 
  ...
  ],
  plugins: [
+  "jest",
+  "sonarjs",
+  "functional",
+  "@typescript-eslint",
+  "prettier",
+  "total-functions",
+  "import",
+  "react",
+  "react-hooks",
+  "jsx-a11y",
  ...
],
  rules: {
    ...
  }
};
4.1.0

7 months ago

3.3.1

8 months ago

3.3.0

8 months ago

3.2.0

1 year ago

3.1.0

1 year ago

3.0.0

1 year ago

2.3.0

1 year ago

2.2.0

1 year ago

2.5.0

1 year ago

2.4.0

1 year ago

2.7.0

1 year ago

2.6.0

1 year ago

2.8.0

1 year ago

2.1.0

1 year ago

1.6.0

1 year ago

1.5.0

1 year ago

1.4.0

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.3.0

1 year ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago