Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@seamapi/eslint-configs
Advanced tools
This repository is a collection of eslint configs for use in Seam projects. Centralizing eslint configs enables uniform styles across Seam projects, and to avoid bike-shedding within a particular project.
This repository is a collection of eslint configs for use in Seam projects. Centralizing eslint configs enables uniform styles across Seam projects, and to avoid bike-shedding within a particular project.
Feel free to use these for personal use.
In your .eslintrc
and .eslintrc.js
file, add the following lines:
module.exports = {
extends: ['./node_modules/@seamapi/eslint-configs/std1'],
}
There are both components and standards in this repository. A standard is intended to be foundational for a project, while components are optionally added. Standards are not expected to dramatically change over time. Instead of retrofitting a standard you should advocate for a new standard then advocate for deprecation of the old standard.
Every standard and component should have a version number.
std1
Server Standard 1 (2021+)For use in server-side code, especially API code.
snake_case
variables and data structuresstd2
React Standard 2 (2021+)For use in React code.
camelCase
for variables and functionsComponents are configs that can be used to construct new standards or to
naming1
API/Server Naming Conventions (2021+)For use in API/Server code.
snake_case
variables and data structurescamelCase
functionsapidesign1
Lints Compliance with API Design RFC (In Development)Forces rules from API Design RFC
schemadesign1
Lints for Best Practices in Database Schema Design (In Development)Note, this may be replaced with schemalint
Enforces schema design best practices.
snake_case
columns and tablesjsonb
objects have a domain
to give them types$main
schema to all other schemas (other schemas
cannot reference each other, or the $main
schema, the $main
schema has
should have references to other schemas)<referenced_table>_id
created_at
column<table>_id
is_deleted
, deleted_at
)You are welcome to introduce unofficial configs, which will encourage adoption as a standard config. For an unofficial config to become official, it should be used in at least 2 projects and have the approvals of several developers.
(none yet)
FAQs
This repository is a collection of eslint configs for use in Seam projects. Centralizing eslint configs enables uniform styles across Seam projects, and to avoid bike-shedding within a particular project.
The npm package @seamapi/eslint-configs receives a total of 0 weekly downloads. As such, @seamapi/eslint-configs popularity was classified as not popular.
We found that @seamapi/eslint-configs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.