Compare commits
No commits in common. "c612e5329a2437dad0b90bb26e9e85a7370e1a7f" and "044d409620c093e49bd4093648e9cbf94c47f685" have entirely different histories.
c612e5329a
...
044d409620
58
.eslintrc.js
58
.eslintrc.js
@ -1,32 +1,32 @@
|
||||
module.exports = {
|
||||
env: {
|
||||
browser: true,
|
||||
es2021: true,
|
||||
},
|
||||
extends: [
|
||||
"plugin:react/recommended",
|
||||
"xo",
|
||||
],
|
||||
env: {
|
||||
browser: true,
|
||||
es2021: true,
|
||||
},
|
||||
extends: [
|
||||
'plugin:react/recommended',
|
||||
'xo',
|
||||
],
|
||||
parser: "@typescript-eslint/parser",
|
||||
parserOptions: {
|
||||
ecmaFeatures: {
|
||||
jsx: true,
|
||||
},
|
||||
ecmaVersion: 12,
|
||||
sourceType: "module",
|
||||
},
|
||||
plugins: [
|
||||
"react",
|
||||
"@typescript-eslint",
|
||||
],
|
||||
rules: {
|
||||
"arrow-parens": ["error", "always"],
|
||||
indent: ["error", 4],
|
||||
"unused-vars": "off",
|
||||
"@typescript-eslint/no-unused-vars": ["error", {argsIgnorePattern: "^_"}],
|
||||
"no-redeclare": "off",
|
||||
"@typescript-eslint/no-redeclare": ["error"],
|
||||
quotes: ["error", "double"],
|
||||
"no-warning-comments": "off",
|
||||
},
|
||||
parserOptions: {
|
||||
ecmaFeatures: {
|
||||
jsx: true,
|
||||
},
|
||||
ecmaVersion: 12,
|
||||
sourceType: 'module',
|
||||
},
|
||||
plugins: [
|
||||
'react',
|
||||
"@typescript-eslint"
|
||||
],
|
||||
rules: {
|
||||
"arrow-parens": ["error", "always"],
|
||||
"indent": ["error", 4],
|
||||
"unused-vars": "off",
|
||||
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
|
||||
"no-redeclare": "off",
|
||||
"@typescript-eslint/no-redeclare": ["error"],
|
||||
"quotes": ["error", "double"],
|
||||
"no-warning-comments": "off"
|
||||
},
|
||||
};
|
||||
|
@ -11,8 +11,8 @@
|
||||
"build": "parcel build index.html --no-source-maps --detailed-report",
|
||||
"prebuild": "yarn run typecheck",
|
||||
"typecheck": "tsc --noEmit --jsx preserve",
|
||||
"lint": "eslint --ext .ts,.tsx,.js .",
|
||||
"lint-fix": "eslint --ext .ts,.tsx,.js . --fix"
|
||||
"lint": "eslint src/*",
|
||||
"lint-fix": "eslint src/* --fix"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@parcel/transformer-image": "2.0.0-rc.0",
|
||||
|
@ -1,5 +1,3 @@
|
||||
/* eslint-disable camelcase */
|
||||
|
||||
enum Conlang {
|
||||
Saimiar = "saimiar",
|
||||
Elesu = "elesu",
|
||||
|
Loading…
Reference in New Issue
Block a user