GithubHelp home page GithubHelp logo

rlugojr / awesome-eslint Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dustinspecker/awesome-eslint

0.0 1.0 0.0 69 KB

A list of awesome ESLint plugins, configs, etc.

License: Creative Commons Zero v1.0 Universal

awesome-eslint's Introduction

Awesome ESLint Awesome

eslint

A list of awesome ESLint configs, plugins, etc.

If you want to contribute, please read the contribution guidelines.

Contents

Configs

Parsers

  • Babel - Use Babel's parser for linting all Babel features

Plugins

Frameworks and Libraries

Misc

  • Babel - Adds replacements for built-in rules to include Babel features
  • Compat - Lint browser compatability of APIs used (caniuse as an ESLint plugin)
  • disable - Disable specified plugins using file path patterns and inline comments
  • es5 - ESLint plugin for ES5 users (forbid ES2015+ usage)
  • Flow - Flow type linting rules
  • Flow Errors - Run Flow as an ESLint plugin
  • GraphQL - Check your GraphQL query strings against a schema
  • HTML - Linting for JavaScript inside of HTML <script> tags
  • import - Linting of ES2015+ import/export syntax, and prevent issues with misspelling of file paths and import names
  • JSON - Lint your JSON files
  • Markdown - Linting JavaScript in Markdown
  • Node - Linting rules for Node.js (checking importing paths, ES syntax, ...)
  • Optimize Regex - Optimize regex literals
  • TypeLint - Introduces types, based on existing schemas (Swagger, Redux) and linting access to object properties, preventing undefined errors
  • unicorn - Various awesome ESLint rules
  • ESLint Comments - Best practices about ESLint directive comments (/*eslint-disable*/, etc...)

Practices

  • fp - ESLint rules for functional programming
  • Immutable - Disable all mutation in JavaScript
  • JSX a11y - Accessibility rules on JSX elements
  • new-with-error - Require errors to be thrown using new
  • no-inferred-method-name - Custom rule for ESLint that checks for inferred method names within object literals.
  • no-loops - It's 2017 and you still use loops?
  • no-use-extend-native - Prevent using extended native objects
  • Promise - Best practices when working with promises
  • Security - ESLint rules for Node Security
  • this - Write pure functions, don't allow this
  • XSS - Tries to detect XSS issues in codebase before they end up in production

Style

  • filenames - Ensure consistent filenames for your javascript files
  • no-empty-blocks - Allows empty catch blocks, while disallowing other empty blocks

Preconfigured Tools with ESLint Set up

Tools

Tutorials

License

CC0

awesome-eslint's People

Contributors

dustinspecker avatar sadorlovsky avatar jfmengels avatar mysticatea avatar amilajack avatar mradionov avatar mischah avatar nkt avatar raxpost avatar sindresorhus avatar ntwb avatar sebastienelet avatar turbo87 avatar trevordmiller avatar wesbos avatar geek avatar cowchimp avatar dongliu avatar wagerfield avatar matijs avatar veggiemonk avatar machadoit avatar gajus avatar brainmaestro avatar coryhouse avatar lemonmade avatar akullpp avatar alexmost avatar sheerun avatar aadu avatar

Watchers

 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.