0.1.26 • Published 1 year ago
@zauberware/eslint-config v0.1.26
Shared ESlint/Prettier configuration
Requirements
Install Prettier VSCode.
Prettier
Put this into your package.json
"prettier": "@zauberware/eslint-config/.prettierrc.json",
Install
npm i @zauberware/eslint-config eslint
React
Create .eslintrc.js
module.exports = {
extends: '@zauberware/eslint-config/react',
};
Create .eslintrc.js
module.exports = {
extends: '@zauberware/eslint-config/react-ts',
};
Node
Create .eslintrc.js
module.exports = {
extends: '@zauberware/eslint-config/node',
};
Troubleshooting
You always have to quit VSCode if you change eslint rules, otherwise they don't apply immediately. See https://github.com/microsoft/vscode-eslint/issues/477.
0.1.26
1 year ago
0.1.25
1 year ago
0.1.24
1 year ago
0.1.21
2 years ago
0.1.22
2 years ago
0.1.23
2 years ago
0.1.19
2 years ago
0.1.17
2 years ago
0.1.18
2 years ago
0.1.13
4 years ago
0.1.14
4 years ago
0.1.15
4 years ago
0.1.16
4 years ago
0.1.10
4 years ago
0.1.11
4 years ago
0.1.12
4 years ago
0.1.8
4 years ago
0.1.7
4 years ago
0.1.9
4 years ago
0.1.6
5 years ago
0.1.5
5 years ago
0.1.4
5 years ago
0.1.3
5 years ago
0.1.2
5 years ago
0.1.1
5 years ago
0.1.0
5 years ago