Skip to content

Commit

Permalink
chore: ran prettier on eslint.config and package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
akisaini committed Aug 30, 2024
1 parent 0176a1f commit 4bf1b52
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 37 deletions.
10 changes: 5 additions & 5 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
module.exports = {
overrides: [
{
files: ["**/*.ts", "**/*.tsx"],
files: ['**/*.ts', '**/*.tsx'],
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module',
sourceType: 'module'
},
plugins: ['@typescript-eslint'],
rules: {
// TypeScript rules here
},
}
},
{
files: ["**/*.js"],
files: ['**/*.js'],
parserOptions: {
// No project option needed for JS files
},
rules: {
// JavaScript rules here
},
}
}
]
};
40 changes: 8 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
"name": "@jupyterlab/latex",
"version": "4.0.0",
"description": "JupyterLab extension for running LaTeX",
"keywords": [
"jupyter",
"jupyterlab",
"jupyterlab-extension",
"latex"
],
"keywords": ["jupyter", "jupyterlab", "jupyterlab-extension", "latex"],
"homepage": "https://github.com/jupyterlab/jupyterlab-latex",
"bugs": {
"url": "https://github.com/jupyterlab/jupyterlab-latex/issues"
Expand Down Expand Up @@ -118,20 +113,15 @@
"tslint-plugin-prettier": "^2.0.1",
"typescript": "~5.0.4"
},
"sideEffects": [
"style/*.css",
"style/index.js"
],
"sideEffects": ["style/*.css", "style/index.js"],
"styleModule": "style/index.js",
"publishConfig": {
"access": "public"
},
"jupyterlab": {
"discovery": {
"server": {
"managers": [
"pip"
],
"managers": ["pip"],
"base": {
"name": "jupyterlab_latex"
}
Expand All @@ -148,12 +138,7 @@
}
}
},
"eslintIgnore": [
"node_modules",
"dist",
"coverage",
"**/*.d.ts"
],
"eslintIgnore": ["node_modules", "dist", "coverage", "**/*.d.ts"],
"eslintConfig": {
"extends": [
"eslint:recommended",
Expand All @@ -166,17 +151,13 @@
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "interface",
"format": [
"PascalCase"
],
"format": ["PascalCase"],
"custom": {
"regex": "^I[A-Z]",
"match": true
Expand All @@ -200,10 +181,7 @@
"allowTemplateLiterals": false
}
],
"curly": [
"error",
"all"
],
"curly": ["error", "all"],
"eqeqeq": "error",
"prefer-arrow-callback": "error"
}
Expand Down Expand Up @@ -234,9 +212,7 @@
"stylelint-config-standard",
"stylelint-prettier/recommended"
],
"plugins": [
"stylelint-csstree-validator"
],
"plugins": ["stylelint-csstree-validator"],
"rules": {
"csstree/validator": true,
"property-no-vendor-prefix": null,
Expand Down

0 comments on commit 4bf1b52

Please sign in to comment.