Git Product home page Git Product logo

Comments (1)

wooorm avatar wooorm commented on August 27, 2024

It is not possible to allow or deny some words per selected files.

You can allow/deny words from within files if you like, with comments: https://github.com/get-alex/alex#control.


Config files work the other way around:

  1. files are found on the file system (for example because you do alex some/folder/example.md.
  2. the closest config file is found, if there is one, so that could be some/folder/.alexrc or some/.alexrc or .alexrc or even higher.
  3. the contents of that config file could come from anywhere: it could be symlinked, it could be JS that imports some shared rules from node_modules etc

I don’t like the idea of having more globs or file paths inside config files to infinite recurse, and which would prevent sharing config files.


This issue is tracked at unifiedjs/unified-engine#56.


But this allow these words in all files.

Each folder can have its own config file.


Other alternative is using .alexignore file but this will ignore content of whole file and there is also still this issue

I don‘t understand your problems with ignore files. I don’t see why there is an issue there?

from alex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.