Giter Site home page Giter Site logo

deseteral / eslint-config Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 449 KB

๐Ÿ”ง Customized Airbnb ESLint configuration for JavaScript and TypeScript projects

License: MIT License

JavaScript 100.00%
eslint eslint-config personal hacktoberfest

eslint-config's Introduction

Deseteral ESLint config

Customized Airbnb ESLint configuration for JavaScript and TypeScript projects

Usage

First you gotta install it:

npm i --save-dev eslint @deseteral/eslint-config

Then you gotta setup your .eslintrc to extend that config:

{
  "extends": "@deseteral/eslint-config"
}

...or if you're using TypeScript:

{
  "extends": "@deseteral/eslint-config/typescript"
}

The last thing you have to do is put linting script in your project's package.json:

"scripts": {
  "lint": "eslint src --ext js,jsx,ts,tsx"
}

Changelog

[8.0.0] - 2023-11-08

Changed

  • Upgraded dependencies.

[7.0.0] - 2023-01-13

Changed

  • Upgraded ESLint rules dependencies.

[6.1.1] - 2023-01-13

Fixed

  • Upgraded dependencies.

[6.1.0] - 2022-12-31

Changed

  • Disabled no-dupe-class-members because it's handled by TypeScript.

[6.0.3] - 2022-05-24

Fixed

  • Reverted changes from last version.

[6.0.2] - 2022-05-24

Fixed

  • Replaced indent with it's TypeScript equivalent.

[6.0.1] - 2022-04-09

Fixed

  • Bad config for import/no-default-export.
  • Added function-paren-newline rule.

[6.0.0] - 2022-04-09

Changed

  • Upgraded deps. ESLint 8 is now minimum required version.
  • Removed disabling dot-notation rule.
  • Replaced import/prefer-default-export with import/no-default-export rule.

[5.1.0] - 2021-10-31

Changed

  • Turned off react/require-default-props' rule for TypeScript

[5.0.1] - 2021-10-29

Fixed

  • Migrated package-lock to version 2

[5.0.0] - 2021-05-23

Changed

  • Added type-annotation-spacing rule for TypeScript

[4.1.0] - 2021-05-04

Changed

  • Upgraded deps

[4.0.0] - 2021-03-15

Changed

  • Upgraded ESLint

[3.0.3] - 2021-03-15

Fixed

  • Fixed false-positive no-shadow when defining enums in TypeScript

[3.0.2] - 2020-10-06

Fixed

  • Fixed false-positive no-use-before-define when using TypeScript

[3.0.1] - 2020-10-04

Fixed

  • Fixed false-positive no-unused-expressions when using optional call expressions in TypeScript

[3.0.0] - 2020-10-03

Changed

  • Upgraded ESLint version
  • Upgraded Airbnb config
  • Enabled rules of Hooks
  • Allowed using _id as variable name (for MongoDB ObjectID representation)

Fixed

  • Fixed false-positive Cannot read property 'map' of undefined errors for TypeScript

[2.0.1] - 2019-12-31

Fixed

  • Disabled import/extensions for TypeScript projects

[2.0.0] - 2019-12-31

Changed

  • Upgraded ESLint version
  • Upgraded Airbnb config
  • Enabled TypeScript extensions for import/extensions rule

[1.3.1] - 2019-05-08

Fixed

  • Babel parser is now in dependencies not dev dependencies.

[1.3.0] - 2019-05-08

Changed

  • ESLint is now using Babel as its code parser.

[1.2.0] - 2019-04-03

Added

  • Rule specifing use of operator linebreak.

[1.1.0] - 2019-03-10

Added

  • JSX is now allowed in files with .tsx extension.

[1.0.0] - 2019-02-24

  • Initial release.

License

This project is licensed under the MIT license.

eslint-config's People

Contributors

deseteral avatar

Stargazers

 avatar

Watchers

 avatar  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.