0.4.7 • Published 1 year ago
eslint-config-vighnesh153 v0.4.7
eslint-config-vighnesh153
ESLint's configuration based on my preferences. No need to install any additional deps like eslint
as this package
comes bundled with it.
This only works within a Typescript project
Prerequisites
- Install and configure typescript
npm install -D typescript
- Create
tsconfig.json
file
You can also look at my @vighnesh153/tsconfig package
Installation
npm install -D eslint-config-vighnesh153
Usage
- Add the following to your
.eslintrc.js
file
module.exports = {
extends: ['vighnesh153/ts-base.eslintrc'],
parserOptions: {
project: './tsconfig.json',
},
};
- Create a
.eslintignore
file and add the following to it
*.js
Variants
You can use different variants of the configurations in different types of projects
- Pure typescript project
module.exports = {
extends: ['vighnesh153/ts-base.eslintrc'],
parserOptions: {
project: './tsconfig.json',
},
};
- ReactJS typescript library
module.exports = {
extends: ['vighnesh153/react-ts-library.eslintrc'],
parserOptions: {
project: './tsconfig.json',
},
};
- NextJS typescript app
module.exports = {
extends: ['vighnesh153/next-ts.eslintrc'],
parserOptions: {
project: './tsconfig.json',
},
};
0.4.7
1 year ago
0.4.6
1 year ago
0.4.5-alpha03
2 years ago
0.4.5-alpha02
2 years ago
0.4.5-alpha04
2 years ago
0.4.5-alpha01
2 years ago
0.4.1-alpha-01
2 years ago
0.4.4
2 years ago
0.4.1
2 years ago
0.4.3
2 years ago
0.4.2
2 years ago
0.4.0
2 years ago
0.4.0-alpha-07
2 years ago
0.4.0-alpha-06
2 years ago
0.4.0-alpha-05
2 years ago
0.4.0-alpha-04
2 years ago
0.4.0-alpha-03
2 years ago
0.4.0-alpha-02
2 years ago
0.4.0-alpha-01
2 years ago
0.3.0
2 years ago
0.2.2
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.1.0
2 years ago