-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Resistor Colors): add Resistor Colors
- Loading branch information
Showing
20 changed files
with
21,933 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
bin/* | ||
dist/* | ||
docs/* | ||
node_modules/* | ||
production_node_modules/* | ||
test/fixtures/* | ||
tmp/* | ||
jest.config.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": "./tsconfig.json", | ||
"ecmaFeatures": { | ||
"jsx": true | ||
}, | ||
"ecmaVersion": 2018, | ||
"sourceType": "module" | ||
}, | ||
"env": { | ||
"browser": true, | ||
"es6": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
], | ||
"globals": { | ||
"Atomics": "readonly", | ||
"SharedArrayBuffer": "readonly" | ||
}, | ||
"plugins": [ | ||
"@typescript-eslint" | ||
], | ||
"rules": { | ||
"@typescript-eslint/array-type": "off", // Styling not forced upon the student | ||
"@typescript-eslint/explicit-function-return-type": [ | ||
"warn", { | ||
"allowExpressions": false, | ||
"allowTypedFunctionExpressions": true, | ||
"allowHigherOrderFunctions": true | ||
} | ||
], // Prevent bugs | ||
"@typescript-eslint/explicit-member-accessibility": "off", // Styling not forced upon the student | ||
"@typescript-eslint/indent": "off", // Styling not forced upon the student | ||
"@typescript-eslint/no-inferrable-types": [ | ||
"error", { | ||
"ignoreParameters": true | ||
} | ||
], | ||
"@typescript-eslint/member-delimiter-style": "off", // Styling not forced upon the student | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
"@typescript-eslint/no-parameter-properties": [ | ||
"warn", { | ||
"allows": [ | ||
"private", "protected", "public", | ||
"private readonly", "protected readonly", "public readonly" | ||
] | ||
} | ||
], // only disallow readonly without an access modifier | ||
"@typescript-eslint/no-unused-vars": "off", // Covered by the tsc compiler (noUnusedLocals) | ||
"@typescript-eslint/no-use-before-define": [ | ||
"error", { | ||
"functions": false, | ||
"typedefs": false | ||
} | ||
], // Prevent bugs, not styling | ||
"semi": "off", // Always disable base-rule | ||
"@typescript-eslint/semi": "off" // Styling not forced upon student | ||
} | ||
} |
Oops, something went wrong.