1.9.2 • Published 10 days ago
@darajs/eslint-config v1.9.2
@darajs/eslint-config
Dara ESLint
configuration
Installation
To use the config you need to run the install command:
pnpm install -D @darajs/eslint-config
Usage
Include a tsconfig.eslint.json
file in your project root. It needs to have an include
key to cover files that should be linted. This is required for TypeScript
-specific lint rules to use the type information. As an example:
{
"extends": "./tsconfig.json",
"include": ["./src/", "./tests/"],
"exclude": [],
"compilerOptions": {
"rootDir": "."
}
}
Include a .eslintrc.js
file in your project with:
module.exports = {
extends: ['@darajs/eslint-config'],
parserOptions: {
project: './tsconfig.eslint.json',
tsconfigRootDir: __dirname,
},
};
1.9.2
10 days ago
1.9.1
22 days ago
1.7.5
22 days ago
1.9.0
1 month ago
1.8.0
1 month ago
1.7.4
1 month ago
1.7.3
2 months ago
1.7.2
2 months ago
1.7.1
2 months ago
1.7.0
2 months ago
1.5.4
3 months ago
1.6.1
3 months ago
1.6.0
3 months ago
1.5.3
3 months ago
1.5.2
3 months ago
1.5.1
4 months ago
1.5.0
4 months ago
1.4.4
4 months ago
1.4.3
5 months ago
1.4.2
5 months ago
1.4.1
6 months ago
1.4.0
6 months ago
1.3.0
6 months ago
1.2.3
6 months ago
1.2.2
7 months ago
1.2.1
7 months ago
1.2.0
8 months ago
1.1.0
8 months ago
1.0.1
9 months ago
1.0.0
9 months ago
1.0.0-a.1
10 months ago