dareharu / shareable-configs Goto Github PK
View Code? Open in Web Editor NEWShareable common configurations for Dareharu projects
License: MIT License
Shareable common configurations for Dareharu projects
License: MIT License
Related docs:
That is all in the title as I said. "require" and "import" fields that are exporting the actual configuration are in reversed order.
shareable-configs/packages/eslint-config/package.json
Lines 12 to 23 in bb46359
shareable-configs/packages/prettier-config/package.json
Lines 12 to 16 in bb46359
variable selectors like let
, const
, and even var
in the top-level scope should be allow "StrictPascalCase" format that match modifiers: global
and const
and should be disallow "strictCamelCase" format.
Currently, we cannot use [Strict]PascalCase format that matches enumMember
. @dareharu/eslint-config
always enforces us to use PascalCase format.
We assume there is so awesome if we could be used this feature:
export const enum BrandingColor {
Primary = 0x06d6a0,
Secondary = 0xa08de9,
Info = 0x608bda,
Warn = 0xf1c40f,
Danger = 0xe22b46
}
For example:
export function delegateTo(_: any): RedStoneConfig {
// ^ Parameter name `_` must match one of
// the following formats: strictCamelCase
}
ESLint complains to us that the interface
name must not start with an upper-cased alphabet. For example,
interface ConsumeRange {
offset?: number
take?: number
}
interface GetDocumentsOptions extends ConsumeRange {
cache?: boolean
exclude?: string[]
}
The ConsumeRange and GetDocumentsOptions interfaces are invalid since @dareharu/eslint-config
enforces the rule that interface name must not match the RegExp: /^[A-Z]/u
.
This behavior is invalid action so should be resolved as soon as possible.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.