2.0.3 • Published 6 months ago

eslint-config-tcd v2.0.3

Weekly downloads
52
License
MIT
Repository
github
Last release
6 months ago

eslint-config npm downloads

An ESLint Shareable Config

Installation

npm install eslint-config-tcd eslint
# OR
yarn add  eslint-config-tcd eslint
# OR
pnpm add  eslint-config-tcd eslint

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

To use this shareable config, first run this:

npm install --save-dev eslint eslint-config-tcd
# OR
yarn add --dev eslint eslint-config-tcd

Then, add the config you need to your flat eslint.config.(.js|.json|.yml) file:

MJS

import defaultConfig from 'eslint-config-tcd';
import reactConfig from 'eslint-config-tcd/configs/react';

export default [
  defaultConfig,
  reactConfig,
  {
    files: ['*.ks', '*.jsx']
  }
];

CJS

const defaultConfig = require('eslint-config-tcd');
const reactConfig = require('eslint-config-tcd/configs/react');

module.exports = [
  defaultConfig,
  reactConfig,
  {
    files: ['*.ks', '*.jsx']
  }
];

All available configs

  • eslint-config-tcd/configs/default - ES6+ config
  • eslint-config-tcd/configs/node - ES6+ NodeJS config
  • eslint-config-tcd/configs/react - React config
  • eslint-config-tcd/configs/ts - TypeScript config
  • eslint-config-tcd/configs/next - NextJS config
2.0.3

6 months ago

2.0.2

7 months ago

2.0.1

7 months ago

2.0.0

7 months ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.0

6 years ago

0.0.30

6 years ago

0.0.29

7 years ago

0.0.28

7 years ago

0.0.27

7 years ago

0.0.26

7 years ago

0.0.25

7 years ago

0.0.24

7 years ago

0.0.23

7 years ago

0.0.22

7 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago