Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
style: 🎨 lint project
Browse files Browse the repository at this point in the history
  • Loading branch information
Guz013 committed Aug 23, 2023
1 parent 10e5430 commit 64a45cd
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion packages/config/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import type { Linter } from 'eslint';

/**
* Helper functions for creating/configuring ESLint.
*
* @param config - Array or function returning an array of ESLint's configuration objects array to be used.
* @param environment - An object with environment variables to be declared and used by the configuration.
* @returns The array of ESLint's configuration objects.
Expand Down
1 change: 0 additions & 1 deletion packages/config/src/@types/eslint-plugin-jsdoc.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type { ESLint } from 'eslint';

/**
* @see {@link https://www.npmjs.org/package/eslint-plugin-jsdoc npm package}
*
* @summary JSDoc specific linting rules for ESLint.
*
* ---
Expand Down
2 changes: 0 additions & 2 deletions packages/config/src/@types/typescript-eslint.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type { ESLint, Linter } from 'eslint';

/**
* @see {@link https://www.npmjs.com/package/@typescript-eslint/eslint-plugin npm package}
*
* @summary An ESLint plugin which provides lint rules for TypeScript codebases.
*
* ---
Expand Down Expand Up @@ -33,7 +32,6 @@ declare module '@typescript-eslint/eslint-plugin' {

/**
* @see {@link https://www.npmjs.com/package/@typescript-eslint/parser npm package}
*
* @summary An ESLint parser which leverages TypeScript ESTree to allow for ESLint
* to lint TypeScript source code.
*
Expand Down
1 change: 0 additions & 1 deletion packages/config/src/configs/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import jsdoc from 'eslint-plugin-jsdoc';
/**
* **This configuration is necessary to be used before any other one**.
* Common configuration for using ESLit rules overrides.
*
* @type {Readonly<import('eslint').Linter.FlatConfig>}
*/
const config = {
Expand Down
3 changes: 0 additions & 3 deletions packages/config/src/configs/environments.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import globals from 'globals';

/**
* Configuration for Node development environment
*
* @type {import('eslint').Linter.FlatConfig}
*/
const node = {
Expand All @@ -16,7 +15,6 @@ const node = {

/**
* Configuration for Deno development environment
*
* @type {import('eslint').Linter.FlatConfig}
*/
const deno = {
Expand All @@ -31,7 +29,6 @@ const deno = {

/**
* Configuration for browser development environment
*
* @type {import('eslint').Linter.FlatConfig}
*/
const browser = {
Expand Down
1 change: 0 additions & 1 deletion packages/config/src/configs/formatting.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/**
* Formatting rules/configuration overrides for Javascript and Typescript
*
* @type {Readonly<import('eslint').Linter.FlatConfig>}
*/
const config = {
Expand Down
1 change: 0 additions & 1 deletion packages/config/src/configs/recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import js from '@eslint/js';

/**
* Recommended configuration overrides of ESLit
*
* @type {Readonly<import('eslint').Linter.FlatConfig>}
*/
const config = {
Expand Down
1 change: 0 additions & 1 deletion packages/config/src/configs/typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import jsdoc from 'eslint-plugin-jsdoc';

/**
* Typescript specific configuration overrides
*
* @type {Readonly<import('eslint').Linter.FlatConfig>}
*/
const config = {
Expand Down
2 changes: 0 additions & 2 deletions packages/config/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ import { eslintrc } from './eslintrc-compact.js';
/**
* @param {import('./types').Config} config
* Array or function returning an array of ESLint's configuration objects array to be used.
*
* @param {import('./types').EnvOptions | undefined} environment
* An object with environment variables to be declared and used by the configuration.
*
* @returns {Promise<import('eslint').Linter.FlatConfig[]>}
* The array of ESLint's configuration objects.
*/
Expand Down
2 changes: 0 additions & 2 deletions packages/config/src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export interface EnvOptions {
* ---
* **Option: `never`** (default)
* Types are always explicit in Typescript
*
* @example ```ts
// Typescript
const id: number = 10;
Expand All @@ -32,7 +31,6 @@ export interface EnvOptions {
* ---
* **Option: `always`**
* Types are always inferred in Typescript
*
* @example ```ts
// Typescript
const id = 10;
Expand Down

0 comments on commit 64a45cd

Please sign in to comment.