@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

23

Version

5.2.0

License

MIT

Unpacked Size

5.46 kB

Total Files

4

Last publish

Collaborators

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