eslint-config-thealexpatin
v0.1.10
Published
Alex Patin's standard ESLint configurations
Downloads
5
Readme
eslint-config-thealexpatin
My personal ESLint configurations
eslint
configurations
Requirements
eslint >7.X.X
Basic Usage
Install
$ npm install -D eslint-config-thealexpatin
Create .eslintrc.js
// .eslintrc.js
module.exports = {
extends: ["thealexpatin/<extension name>"],
};
Available Extensions
es6
typescript
react
(for ES6)react-with-typescript
react-native
(for ES6)react-native-with-typescript
vue
(for ES6)vue-with-typescript
Examples
// .eslintrc.js
module.exports = {
extends: ["thealexpatin/typescript"],
};
// .eslintrc.js
module.exports = {
extends: ["thealexpatin/react-with-typescript"],
};