Skip to content

Commit

Permalink
test(packages_simple-pie): add eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
serjilyashenko committed May 22, 2024
1 parent a3a6ba0 commit b341019
Show file tree
Hide file tree
Showing 6 changed files with 378 additions and 9 deletions.
5 changes: 5 additions & 0 deletions config/eslint.packages.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import tseslint from 'typescript-eslint';

export default [
...tseslint.configs.recommended,
]
357 changes: 356 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions packages/pie-math/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import packagesConfig from '../../config/eslint.packages.config.mjs';

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
);
export default [
...packagesConfig,
]
7 changes: 7 additions & 0 deletions packages/simple-pie/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import globals from "globals";
import packagesConfig from "../../config/eslint.packages.config.mjs";

export default [
...packagesConfig,
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } }
];
Loading

0 comments on commit b341019

Please sign in to comment.