@amedia/eslint-config-amedia

5.2.0 • Public • Published

eslint-config-amedia

IF you were previously using eslint-config-amedia for base config, please change it to eslint-config-amedia-base

This is the mothership for maintaining all of Amedias eslint configs.

Common ESLint/Prettier configuration for all Javascript developers. Extends AirBnB's configuration As for now we support Node projects written in Javascript, but support for React and TypeScript will be added upon request.

For an overview of all possible rules, see http://eslint.org/docs/rules/

Inspired by : (https://github.com/natterstefan/eslint-config-ns) In August 2018, he published an article with the title "How to create your own shared esLint, prettier and stylelint configuration" on Medium.

Features

Install

Assumptions

This ESLint configuration comes with some fundamental assumptions:

  • react and/or node environment
  • jest as the selected test-suite
  • browser and/or node environment
  • parser: babel (used babel-eslint parser)

NEXT ?

Additions / changes

Create a new issue and get it reviewed by #fag-front. We'd like as many projects as possible to run the same linter.

Development and publishing

If you have made changes to any of these configs (throught PR of couse), publish new version like so:

$ npx lerna publish

The Lerna cli will prompt for appropriate versioning.

3.x.x Installation

Requires NPM v6 or newer.

npm install --save-dev @amedia/eslint-config-amedia

Changelist

  • Upgraded all dependencies
  • Removed Legacy and Flow support
  • Introduced Prettier and Mocha support
  • Remove mocha support
  • Add packages for base (vanillaJs) and react

>= v2

Deprecated

Package Sidebar

Install

npm i @amedia/eslint-config-amedia

Weekly Downloads

4

Version

5.2.0

License

MIT

Unpacked Size

5.46 kB

Total Files

4

Last publish

Collaborators

  • amandaklj
  • forgetfulisak
  • stoffern
  • jmsamedia
  • thomasjordan
  • glbit
  • lazee
  • skogli20
  • olexk
  • emilschultz
  • henrikgs
  • ojbrun
  • olavm
  • teodorlu
  • martin.midtsund
  • simenf05
  • natalie.lien
  • oleny
  • mortenlocka
  • jarandu
  • sylvihb
  • eivl
  • varl
  • baardr
  • eirik-haukeland
  • robinfiske87
  • kathte
  • sigurdb
  • carlef-amedia
  • celinevictoria
  • kjersty
  • mathsterk
  • veggiss
  • magnusrr
  • matsjsk-amedia
  • simonamedia
  • altheaase
  • johanhaugland
  • akselnordal
  • rathienth
  • amediocredad
  • zahsaf17
  • elisabethirg
  • johnche
  • jibblol
  • simengj
  • oleberdal-amedia
  • fliropp
  • helgevalvik
  • amediautvikling
  • jorgenwahlberg
  • torbs
  • duveit
  • renatewr
  • equivocal
  • mariann
  • hennikul
  • karinaas
  • fredrik.danielsen
  • kjetilhoiby
  • fjellman
  • steinkvarud
  • annadahl
  • mfolkeseth
  • larskl
  • emilhauk
  • chrispz
  • pergu
  • tingstad
  • bjorngjorven
  • reidarsollid
  • rahilhussain
  • susanne.moseby
  • tommygi
  • thomas.orten
  • peder-forfang
  • rasmusamedia