Fix prettier installation #774
This commit is contained in:
@@ -11,24 +11,15 @@
|
||||
"BeautifyAll": "readonly",
|
||||
"PlaySound": "readonly"
|
||||
},
|
||||
"extends": [
|
||||
"airbnb-base",
|
||||
"plugin:prettier/recommended"
|
||||
],
|
||||
"extends": ["airbnb-base", "prettier"],
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 12
|
||||
},
|
||||
"plugins": [
|
||||
"@typescript-eslint"
|
||||
],
|
||||
"plugins": ["@typescript-eslint"],
|
||||
"overrides": [
|
||||
{
|
||||
"files": [
|
||||
"src/**/*.{ts,tsx}"
|
||||
],
|
||||
"extends": [
|
||||
"plugin:@typescript-eslint/recommended"
|
||||
],
|
||||
"files": ["src/**/*.{ts,tsx}"],
|
||||
"extends": ["plugin:@typescript-eslint/recommended"],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"rules": {
|
||||
"import/extensions": "off", // To allow importing .ts without errors
|
||||
@@ -36,11 +27,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"ignorePatterns": [
|
||||
"*CookieMonster*.js",
|
||||
"dist/*",
|
||||
"node_modules/*"
|
||||
],
|
||||
"ignorePatterns": ["*CookieMonster*.js", "dist/*", "node_modules/*"],
|
||||
"rules": {
|
||||
"import/no-mutable-exports": "off", // We need to this throughout Cookie Monster
|
||||
"no-plusplus": [
|
||||
@@ -56,15 +43,6 @@
|
||||
"object": true,
|
||||
"array": false
|
||||
}
|
||||
], // Importing arrays and then destructuring them seems to fail
|
||||
"max-len": [
|
||||
1,
|
||||
{
|
||||
"code": 100,
|
||||
"ignoreComments": true,
|
||||
"ignoreStrings": true,
|
||||
"ignoreTemplateLiterals": true
|
||||
}
|
||||
]
|
||||
] // Importing arrays and then destructuring them seems to fail
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user