0.0.20 • Published 2 years ago

@lawlzer/eslint v0.0.20

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Using @lawlzer/eslint

Install @lawlzer/eslint, eslint, and @typescript-eslint/eslint-plugin as development dependencies:

npm i -D @lawlzer/eslint eslint @typescript-eslint/eslint-plugin

Add the following code to a .eslintrc.js

// .eslintrc.js
const path = require('path');

module.exports = {
  // @lawlzer/eslint
  extends: [path.resolve(process.cwd(), 'node_modules', '@lawlzer', 'eslint', 'main')],
};

If you'd like to use an on-commit ESLint file (.eslintrc.commit.js, along with an on-commit hook), there is also @lawlzer/eslint/commit)

Example:

// .eslintrc.js
const path = require('path');

module.exports = {
  // @lawlzer/eslint
  extends: [path.resolve(process.cwd(), 'node_modules', '@lawlzer', 'eslint', 'commit')],
};

Alternatively, if you would only like JS or TS configuration, there is @lawlzer/eslint/main/js (and the similar variants)

0.0.20

2 years ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.13

2 years ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago