Skip to content

Commit

Permalink
feat(module): adicionado suporte para module
Browse files Browse the repository at this point in the history
  • Loading branch information
andrefelipeschulle committed Sep 15, 2023
1 parent 2e38970 commit ddd9b86
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 266 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@brainylab/eslint-config-base']
}
3 changes: 0 additions & 3 deletions .eslintrc.js

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@brainylab/eslint-config",
"private": true,
"type": "module",
"author": {
"name": "André Felipe Schulle",
"email": "[email protected]"
Expand Down
4 changes: 2 additions & 2 deletions packages/base/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
root: true,
env: {
es2021: true,
node: true,
Expand All @@ -9,8 +10,8 @@ module.exports = {
extends: [
'standard',
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
'plugin:vitest-globals/recommended',
'prettier',
],
parser: '@typescript-eslint/parser',
parserOptions: {
Expand All @@ -19,7 +20,6 @@ module.exports = {
},
plugins: ['@typescript-eslint', 'eslint-plugin-import-helpers'],
rules: {
'prettier/prettier': ['error'],
camelcase: 'off',
'no-param-reassign': 'off',
'no-use-before-define': 'off',
Expand Down
3 changes: 1 addition & 2 deletions packages/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@brainylab/eslint-config-base",
"version": "0.6.10",
"version": "0.6.11",
"main": "index.js",
"license": "MIT",
"description": "ESLint configuration used by BrainyLab.",
Expand All @@ -24,7 +24,6 @@
"eslint-plugin-import": "2.28.1",
"eslint-plugin-import-helpers": "1.3.1",
"eslint-plugin-n": "16.1.0",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-vitest-globals": "1.4.0",
"prettier": "3.0.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "git+https://github.com/brainylab/eslint-config"
},
"dependencies": {
"@brainylab/eslint-config-base": "0.6.10",
"@brainylab/eslint-config-base": "0.6.11",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0"
Expand Down
Loading

0 comments on commit ddd9b86

Please sign in to comment.