Coder Social home page Coder Social logo

reworc / gtv-linter-config Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gesellschaftfuertechnischevisualistik/gtv-linter-config

0.0 0.0 0.0 49 KB

ESLint configuration used by the Gesellschaft für Technische Visualistik

License: MIT License

JavaScript 100.00%

gtv-linter-config's Introduction

Using the GTV ESLint configurations

  1. Run npm i @gtvmbh/eslint-config --save-dev to install the GTV ESLint configuration. Take note of the messages about missing peer dependencies.
  2. Update or install any missing peer dependencies noted in the previous step, which may be any of: npm i eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-jsdoc --save-dev. If you are unsure what peer dependencies are required, run npm view @gtvmbh/eslint-config peerDependencies
  3. Add a file named .eslintrc.js in the project root, setting up ESLint the use of the GTV ESLint configurations. See the examples folder for templates.
  4. 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.
  5. 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.

gtv-linter-config's People

Contributors

tgeissler avatar lbueschel avatar astahl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.