4.0.2 • Published 1 month ago

@cto.af/eslint-config v4.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

@cto-af/eslint-config

EsLint rules for cto.af projects, using ESLint flat configs.

Install

npm install -D eslint @cto-af/eslint-config

Optionally:

npm install -D typescript-eslint typescript eslint-plugin-ava eslint-plugin-jsdoc eslint-plugin-markdown

CommonJS project:

eslint.config.js

module.exports = require('@cto.af/eslint-config');

ES6 project:

eslint.config.js

import es6 from '@cto.af/eslint-config/es6.js';

export default es6;

TS Project:

eslint.config.js:

import es6 from '@cto.af/eslint-config/es6.js';
import ts from '@cto.af/eslint-config/ts.js';

export default [
  ...es6,
  ts,
];

Turn on everything:

eslint.config.js:

import all from '@cto.af/eslint-config/all.js';
import mod from '@cto.af/eslint-config/module.js';

export default [
  ...all,
  mod,
];
4.0.2

1 month ago

4.0.1

2 months ago

4.0.0

2 months ago

3.1.0

4 months ago

3.0.2

6 months ago

3.0.1

10 months ago

3.0.0

10 months ago

1.1.3

11 months ago

2.0.3

11 months ago

2.0.2

11 months ago

2.0.1

11 months ago

2.0.0

11 months ago

1.1.1

12 months ago

1.1.0

1 year ago

1.0.5

1 year ago

1.1.2

12 months ago

1.0.4

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

1.0.3

1 year ago

0.1.8

1 year ago

0.1.7

2 years ago

0.1.4

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.2

2 years ago

0.1.3

2 years ago

0.1.0

2 years ago

0.1.1

2 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago