@@ -4,8 +4,7 @@ module.exports = {
44 node : true ,
55 } ,
66 extends : [ 'prettier' , 'eslint:recommended' , 'plugin:import/errors' , 'plugin:import/warnings' ] ,
7- plugins : [ 'sentry-sdks' , 'simple-import-sort' ] ,
8- ignorePatterns : [ 'eslint-plugin-sentry-sdks' ] ,
7+ plugins : [ '@sentry' , 'simple-import-sort' ] ,
98 overrides : [
109 {
1110 // Configuration for JavaScript files
@@ -20,9 +19,6 @@ module.exports = {
2019 extends : [ 'plugin:@typescript-eslint/recommended' , 'prettier/@typescript-eslint' , 'plugin:import/typescript' ] ,
2120 plugins : [ '@typescript-eslint' , 'jsdoc' , 'deprecation' ] ,
2221 parser : '@typescript-eslint/parser' ,
23- parserOptions : {
24- project : './tsconfig.json' ,
25- } ,
2622 rules : {
2723 // Unused variables should be removed unless they are marked with and underscore (ex. _varName).
2824 '@typescript-eslint/no-unused-vars' : [ 'warn' , { argsIgnorePattern : '^_' } ] ,
@@ -105,13 +101,16 @@ module.exports = {
105101 files : [ 'src/**/*' ] ,
106102 rules : {
107103 // We want to prevent async await usage in our files to prevent uncessary bundle size.
108- 'sentry-sdks /no-async-await' : 'error' ,
104+ '@ sentry/no-async-await' : 'error' ,
109105
110106 // JSDOC comments are required for classes and methods. As we have a public facing codebase, documentation,
111107 // even if it may seems excessive at times, is important to emphasize. Turned off in tests.
112108 'jsdoc/require-jsdoc' : [
113109 'error' ,
114- { require : { ClassDeclaration : true , MethodDefinition : true } , checkConstructors : false } ,
110+ {
111+ require : { ClassDeclaration : true , MethodDefinition : true } ,
112+ checkConstructors : false ,
113+ } ,
115114 ] ,
116115
117116 // All imports should be accounted for
0 commit comments