Skip to content
Myr

move eslint config out of package.json and add prettier

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jason Miller · committed by Jason Miller · parent 5a17bef · Browse files · 2 files+60 added−38 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+60 added−38 removed

  • other:+60 added−38 removed

2 files+60 added−38 removed

added:.eslintrc+52 added
1{2 "ignorePatterns": [3 "node_modules",4 "dist",5 "index.d.ts"6 ],7 "extends": [8 "plugin:@typescript-eslint/eslint-recommended",9 "plugin:@typescript-eslint/recommended",10 "developit"11 ],12 "parser": "@typescript-eslint/parser",13 "parserOptions": {14 "sourceType": "module"15 },16 "env": {17 "browser": true,18 "mocha": true,19 "jest": false,20 "es6": true21 },22 "globals": {23 "expect": true24 },25 "rules": {26 "semi": [27 2,28 "always"29 ],30 "brace-style": [31 2,32 "1tbs"33 ],34 "quotes": [35 2,36 "single"37 ],38 "lines-around-comment": [39 2,40 {41 "allowBlockStart": true,42 "allowObjectStart": true43 }44 ],45 "jest/valid-expect": 0,46 "@typescript-eslint/no-explicit-any": 0,47 "@typescript-eslint/explicit-function-return-type": 0,48 "@typescript-eslint/explicit-module-boundary-types": 0,49 "@typescript-eslint/no-empty-function": 0,50 "@typescript-eslint/no-non-null-assertion": 051 }52}
modified:package.json+8 added-38 removed