turbo
30060f38 - feat(eslint): support turbo.json workspace configs (#3846)

Comment changes are shownComment changes are hidden
Commit
2 years ago
feat(eslint): support turbo.json workspace configs (#3846) Support turbo.json workspace configs. Still to do: - [x] Support workspace specific linting There exists one edge case here, if a user forgets to add an "extend" to workspace config, we _can_ treat it as root. I punted on this one for now since it's not this packages domain to solve that (at the moment)
Author
Parents
  • packages
    • eslint-plugin-turbo
      • __tests__
        • File
          cwd.test.ts
        • fixtures
          • configs/single
            • File
              turbo.json
          • workspace-configs
            • apps
              • docs
                • File
                  index.js
                • File
                  package.json
              • web
                • File
                  index.js
                • File
                  package.json
                • File
                  turbo.json
            • File
              package.json
            • packages/ui
              • File
                index.js
              • File
                package.json
              • File
                turbo.json
            • File
              turbo.json
          • workspace
            • File
              package-lock.json
        • lib
          • File
            findTurboConfig.test.ts
          • File
            no-undeclared-env-vars.test.ts
      • docs/rules
        • File
          no-undeclared-env-vars.md
      • lib
        • configs
          • File
            recommended.ts
        • rules
          • File
            no-undeclared-env-vars.ts
        • utils
          • File
            findTurboConfig.ts
          • File
            getEnvVarDependencies.ts
    • turbo-utils
      • __fixtures__/common
        • single-package
          • child
            • File
              child.js
          • File
            package.json
          • File
            turbo.json
        • workspace-configs
          • apps
            • docs
              • File
                index.js
              • File
                package.json
            • web
              • File
                index.js
              • File
                package.json
              • File
                turbo.json
          • File
            package.json
          • packages
            • ui
              • File
                index.js
              • File
                package.json
              • File
                turbo.json
            • utils
              • File
                index.js
              • File
                package.json
              • File
                turbo.json
          • File
            turbo.json
      • __tests__
        • File
          getTurboConfigs.test.ts
        • File
          getTurboRoot.test.ts
      • File
        package.json
      • src
        • File
          getTurboConfigs.ts
        • File
          getTurboRoot.ts
        • File
          index.ts
        • File
          searchUp.ts
  • File
    pnpm-lock.yaml