Code Monkey home page Code Monkey logo

inclusion's Introduction

inclusion

Welcome to the public home for the ongoing efforts at Airbnb to build an engineering culture where all engineers feel like they can belong.

Infractions

We are publicly sharing infractions.yml. infractions.yml is a data file of terms that we consider legacy in Airbnb code and systems. These terms are considered legacy since they do not promote belonging and inclusion.

Getting started

The data file format is agnostic to any particular tool and is meant to be general enough to be adapted to any tool.

At Airbnb we use the woke source code scanning tool. generate_woke_config converts infractions.yml to a format that woke understands.

./generate-woke-config "infractions.yml" > woke.yml
woke -c woke.yml source_code/

Contributing

Please open an issue on this GitHub repository. Contributors are expected to follow the Code of Conduct.

About this repository

The list of non-inclusive terms in this repository was created by and will evolve in close collaboration with Airbnb employees who are members of the affected communities.

inclusion's People

Contributors

bachand avatar teddywilson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

inclusion's Issues

Black and White are not correct references

As there is zero people that are completely black or white, the terms brown and pink should be used.

Being called white when my skin colour is far from white is offensive, and incorrect, as is the colour black. Calling a caucasion white, as someone of irish decent (the first US slaves - aka white slaves) to point out how close to white our skin looks is completly unacceptable.

The term 'African-American' is also ambiguous for brown people as Elon Musk is African-American and is not brown skinned.

The offense here seems to only be from 'brown' Americans also, and not the other HUNDREDS of cultures that there are many phrases that are inappropriate, like referring to red haids as 'ranga' or monkeys. Any biological attribute should be included, or this is simply a caucasion hate project, that that would make this not only bigoted but unacceptable.

Please update to be non-discriminatory and factually correct with colours, and include other physical attributes based on race, religion, and other items. (aka OMG and names of religous figures)

After all it needs to be ALL inclusive, not just anti-Caucasian from people taught to be oversensitive.

Make rule names more descriptive in generated `woke.yml`

Today generate_woke_config creates a new set of rules that are named airbnb-0, airbnb-1, etc. We should prefer human-readable names instead, like airbnb-whitelist, airbnb-dummy, as those names are easier to use with woke's inline ignore syntax.

# Clear
let url = URL(string: "www.noninclusive.com/whitelist")  // wokeignore:rule=airbnb-whitelist
# Less clear
let url = URL(string: "www.noninclusive.com/whitelist")  // wokeignore:rule=airbnb-0

Alternatively, the change to disable default rules lands (see get-woke/woke#132), we can use simple rules names that don't have an Airbnb prefix.

Add "How to" to Readme

hi team, I'm SO stoked about your initiative at Airbnb. I'd like to use this tool myself and was wondering if you would be able to add more details to the readme on how to use this tool. Thank you in advance for your help!

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.