5.0.0 • Published 9 months ago
@peggyjs/eslint-config v5.0.0
eslint configuration for Peggy projects
For js-only projects:
File: eslint.config.js
(or eslint.config.mjs
if you're in a project with
type "commonjs"
):
import mocha from "@peggyjs/eslint-config/flat/mocha.js";
// Use commonjs if you're in an older project
import module from "@peggyjs/eslint-config/flat/module.js";
import ts from "@peggyjs/eslint-config/flat/ts.js";
export default [
...module,
...ts,
...mocha,
];
If you include the ts config, you'll need to add dependencies:
npm install -D typescript typescript-eslint
If you include the mocha config, you'll need to add dependencies:
npm install -D eslint-plugin-mocha
5.0.0
9 months ago
4.0.4
11 months ago
4.0.1
11 months ago
4.0.0
12 months ago
4.0.3
11 months ago
3.2.4
1 year ago
3.2.3
1 year ago
3.2.2
1 year ago
3.2.1
1 year ago
3.2.0
1 year ago
3.1.0
1 year ago
3.0.3
2 years ago
3.0.6
2 years ago
3.0.5
2 years ago
3.0.2
2 years ago
3.0.1
2 years ago
3.0.0
3 years ago
2.0.0
3 years ago
1.0.1
4 years ago
1.0.0
4 years ago
0.0.2
4 years ago
0.0.1
4 years ago
0.0.0
4 years ago