- Run
npm i @gtvmbh/eslint-config --save-dev
to install the GTV ESLint configuration. Take note of the messages about missing peer dependencies. - Add a file named
.eslintrc.js
in the project root, setting up ESLint the use of the GTV ESLint configurations. See theexamples
folder for templates. - Run ESLint from the project root to see if everything works as intended:
./node_modules/.bin/eslint -c .eslintrc.js .
for javascript projects../node_modules/.bin/eslint -c .eslintrc.js . --ext .ts
for typescript projects.
- Configure your IDE to use ESLint to check automatically. In VS Code it should be enough to install the ESLint extension and everything should be picked up automatically.
ESLint configuration used by the Gesellschaft für Technische Visualistik
License
GesellschaftFuerTechnischeVisualistik/gtv-linter-config
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
ESLint configuration used by the Gesellschaft für Technische Visualistik
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published