{"id":23121896,"url":"https://github.com/100terres/easelint","last_synced_at":"2025-12-30T21:21:27.304Z","repository":{"id":61527762,"uuid":"552210417","full_name":"100terres/easelint","owner":"100terres","description":"A modern ESlint configuration for JavaScript, TypeScript and React that includes the Airbnb style guide, jsx-a11y to help with accessibility and Prettier to do some code formatting. ","archived":false,"fork":false,"pushed_at":"2023-08-03T04:21:04.000Z","size":386,"stargazers_count":2,"open_issues_count":5,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-09T05:21:37.416Z","etag":null,"topics":["airbnb-eslint","eslint","javascript","prettier","react","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/100terres.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-16T04:10:03.000Z","updated_at":"2023-06-24T16:34:50.000Z","dependencies_parsed_at":"2022-10-19T04:00:39.397Z","dependency_job_id":null,"html_url":"https://github.com/100terres/easelint","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/100terres/easelint","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/100terres%2Feaselint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/100terres%2Feaselint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/100terres%2Feaselint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/100terres%2Feaselint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/100terres","download_url":"https://codeload.github.com/100terres/easelint/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/100terres%2Feaselint/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270644764,"owners_count":24621332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["airbnb-eslint","eslint","javascript","prettier","react","typescript"],"created_at":"2024-12-17T07:17:26.749Z","updated_at":"2025-12-30T21:21:27.259Z","avatar_url":"https://github.com/100terres.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  easelint\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  A modern \u003ca href=\"https://eslint.org/\"\u003eESlint\u003c/a\u003e configuration for \u003ca href=\"https://www.ecma-international.org/publications-and-standards/standards/ecma-262/\"\u003eJavaScript\u003c/a\u003e, \u003ca href=\"https://www.typescriptlang.org/\"\u003eTypeScript\u003c/a\u003e and \u003ca href=\"https://reactjs.org/\"\u003eReact\u003c/a\u003e that includes the \u003ca href=\"https://github.com/airbnb/javascript\"\u003eAirbnb\u003c/a\u003e style guide, \u003ca href=\"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y\"\u003ejsx-a11y\u003c/a\u003e to help with accessibility and \u003ca href=\"https://www.npmjs.com/package/eslint-plugin-prettier\"\u003ePrettier\u003c/a\u003e to do some code formatting.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"easelint is released under the MIT license.\" /\u003e\n  \u003c/a\u003e\n\n  \u003ca href=\"#how-to-contribute-\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\" alt=\"PRs welcome!\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## A bit of context\n\nIt's always a bit time consuming to create or maintain different [ESlint](https://eslint.org/) configurations that work with different languages and libraries such as [TypeScript](https://www.typescriptlang.org/) and [React](https://reactjs.org/). The goal of this package is to have different configurations that just work out-of-the-box and are constantly kept up-to-date.\n\n## Getting Started 🚀\n\nInstalling this package is as easy as any other packages. Simply use your favorite package manager. Keep in mind you'll need to install the required peer dependencies first.\n\n### Install ESlint and Prettier peer dependencies\n\nInstall [ESlint](https://eslint.org/) and [Prettier](https://prettier.io/) either locally or globally. Note that locally per project is strongly preferred.\n\n\n```sh\nnpm install eslint@8 --save-dev\nnpm install prettier@2 --save-dev --save-exact\n```\n\nIf you use [TypeScript](https://www.typescriptlang.org/) or [React](https://reactjs.org/) you'll also need to install them, but let's assume they're already installed. We'll only support most recent versions. Have a look at the `peerDependencies` field in the `package.json` file to know which versions are supported.\n\n### Install easelint\n\n```sh\nnpm install easelint --save-dev\n```\n\n### Setup the configuration file\n\nUsing any [file formats](https://eslint.org/docs/user-guide/configuring/configuration-files#configuration-file-formats) supported by [ESlint](https://eslint.org/), you'll need to add `\"100terres\"` in the `\"extends\"` value of the configuration. Here's an example using a `.eslintrc.js` file.\n\n#### Using the full configuration with JavaScript, TypeScript and React\n\n```js\nconst easelint = require(\"easelint\");\n\nmodule.exports = easelint({\n  javascript: true,\n  typescript: true,\n\n  // we currently only support React\n  jsxPragma: \"react\",\n\n  eslint: {\n    // any eslint configuration e.g.\n    overrides: [\n      {\n        files: [\"vite.config.ts\"],\n        rules: {\n          \"import/no-extraneous-dependencies\": \"off\",\n        },\n      },\n    ],\n  },\n});\n\n```\n\nVoilà! Your project now uses a linter.\n\n## How to Contribute 🤝\n\nPull requests are welcomed. If you'd like to contribute to `easelint`, that's awesome. Simply open an issue explaining what should be changed, improved or fixed. If we decide that a change is required, we can open a pull request. Once everything looks good, I'll approve and merge the PR.\n\n## License\n\nLicensed under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F100terres%2Feaselint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F100terres%2Feaselint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F100terres%2Feaselint/lists"}