Skip to content

Commit

Permalink
fix: remove yarn.lock and restore rc files (#122)
Browse files Browse the repository at this point in the history
* chore: remove yarn.lock and restore rc files

We currently use two packagers: npm and yarn. This is bad, and I thus propose to switch to npm.

Furthermore, in the vite PR we removed some .*rc files, which does not seem nessescary as far as I understand,
and it would be better to keep them.

* installed latest eslintrc

* feat: added editorconfig

* removed old files

* removed jshint

* chore: simplified .eslintrc.json
  • Loading branch information
SilasPeters authored May 10, 2024
1 parent d98c103 commit ee9e24d
Show file tree
Hide file tree
Showing 6 changed files with 3,689 additions and 3,501 deletions.
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
22 changes: 22 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"extends": [ // Inherit the following presets, from https://github.com/jsx-eslint/eslint-plugin-react/tree/master/configs
"react-app",
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime"
],
"ignorePatterns" :["dist/*"], // At all times, ignore generated code.
"env": {
"browser": true // Radio is run directly in the browser
},
"rules": {
"quotes": [1, "single"] // Enforce single quotes
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"modules": true
}
}
}

Loading

0 comments on commit ee9e24d

Please sign in to comment.